git branch permission deny error

Soyoung Cho·2022년 9월 27일
0

코드 작성 후 branch를 파서 push할 경우 아래와 같은 permission deny error가 발생

remote: Permission to .../.git denied to ...
fatal: unable to access 'https://.../.git/': the requested URL retruned error: 403

이 경우 ssh key를 생성하는 방법 외에 remote할 github 저장소를 다시 지정해주는 방법으로 해결 가능

git remote set-url origin https://.../.git

0개의 댓글