디버그 노트
git)remote: Permission to [repository] denied to [username].fatal: unable to access '[repository_url]': The requested URL returned error: 403 에러 해결
Henry95
2019. 11. 8. 14:46
반응형
fatal: unable to access '[repository_url]': The requested URL returned error: 403
git remote: Permission to [repository] denied to [username].fatal: unable to access '[repository_url]': The requested URL returned error: 403
항상 깃을 혼자 사용하다가 이번에 협업을 통해 공용 repository를 생성하는 과정에서 에러를 겪었다.
git push origin master 명령어 입력시에 403에러가 뜨는것인데 해결 방법은
제어판 - 사용자 계정 - 자격증명관리자(windows 자격 증명 관리)
위경로로 들어가면 아래 일반자격 증명 하위에 git:https://github.com 이 있다.
클릭한 후 편집에 들어가서 사용자이름을 push 하고자 하는 github의 아이디로 바꿔주면 된다.
다시한번 cmd로가서 git push origin master명령어를 실행해주면 깃헙 로그인하라는 창이 뜨고 로그인하고나면 정상적으로 push가 완료된다.
반응형