git

Error: Permission to 유저/레포 denied to 다른 유저(Windows)

lado 2021. 5. 28. 22:13

오류 내용

remote: Permission to 유저/레포 denied to 다른 유저.
fatal: unable to access '레포 주소': The requested URL returned error: 403

 

github 아이디를 새로 만들었는데 원격 저장소에 push하려고 하니까 이전 계정에 의해 거절됐다는 에러가 떴다.

 

해결

[제어판]-[사용자 계정]-[자격 증명 관리자]-[Windows 자격 증명]

 

수정한 날짜 옆에 있는 화살표를 누른 뒤 [편집]에서 사용자 이름과 암호를 내가 앞으로 사용할 계정으로 바꿔주고 저장한다.

 

참고 글

https://recoveryman.tistory.com/392

 

추가 문제

2021.05.29 - [git] - Error: Logon failed, use ctrl+c to cancel basic credential prompt

'git' 카테고리의 다른 글

Error: Logon failed, use ctrl+c to cancel basic credential prompt  (1) 2021.05.29