[Github] remote: Permission to denied to . fatal: unable to access : The requested URL returned error: 403

깨미·2021년 11월 16일
0

💻 배워가기 💻

목록 보기
20/30

에러

remote: Permission to '' denied to ''.
fatal: unable to access '': The requested URL returned error: 403

git push를 하려니 생긴 에러.

git add나 git commit 까지는 잘됐는데 git push에서는 username과 password까지 입력하면 위와 같은 에러가 계속 발생한다.

해결방법

자세히 찾아보니 git token을 발급할 때 Select scopes에서 repo에 체크를 해야 git push를 할 수 있나보다..

바로 새롭게 git token을 만들어서 입력해보니 잘된다 !!!!

참고로 git token은 오른쪽 상단에 프로필 아이콘을 누르면 나오는
'Settings'>'Developer settings'>'Personal access tokens'으로 들어간 다음 Generate new token 버튼을 눌러 생성하면 된다.

profile
vis ta vie

0개의 댓글