git
access token 발급 문제
brandy_dev
2023. 11. 13. 00:06
remote 브랜치에 내가 생성한 브랜치를 Push 하려고 했으나 위와 같은 문제를 접하였다.
이를 해결하기 위해서는 다음과 같다.
1) 이전 자격 증명 삭제
git credential-osxkeychain erase http://github.com
GitHub: Let’s build from here
GitHub is where over 100 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and fea...
github.com
2) github에서 로그인하고 settings > Developer Settings
3) Personal access tokens에서 class 버전으로 토큰 발급
4) 터미널에서 git remote set-url origin https://{발급받은 token명}@github.com/{git 레포지터리 이름}
으로 403 에러를 해결할 수 있었다.
참고자료