[error]fatal: unable to access 'https://github.com/Billy-FE/webpack-boilerplate.git/': The requested URL returned error: 403

유림·2023년 1월 6일
0

💡dding's TIL

목록 보기
23/41

문제

⬇️ 에러문구

remote: Permission to Billy-FE/webpack-boilerplate.git denied to ddingyull.
fatal: unable to access 'https://github.com/Billy-FE/webpack-boilerplate.git/': The requested URL returned error: 403

기본적인 webpack세팅일 끝낸 후 git push를 하려고 하는데 위와 같은 문구가 나오면서 "패스워드 인증이 브라운 아웃의 일환으로 일시적으로 비활성화 되었습니다. 대신에 개인 접근 토큰을 사용해주길 바랍니다."

해결방법1

1) 현재 연결된 remote -v 리스트 확인
2) remote url 을 올바르게 변경해주기

git remote set-url {remote git 주소 복사}

git remote set-url https://github.com/깃허브계정이름/레포이름

해결방법2

그러나 난 위 방법으로도 해결되지 않았다... 결국 remote rm 을 통해
remote를 삭제했다가 다시 연결하니 문제없이 push 됐다!

git remote rm origin : 삭제

git remote add origin {주소} : git 주소 연결

참고 블로그) https://rrecoder.tistory.com/99

profile
ɪ ʜᴏᴘᴇ ᴛᴏ sᴏʟᴠᴇ ʀᴇᴀʟ ᴘʀᴏʙʟᴇᴍs👩🏻‍💻❤️

0개의 댓글