일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- dev
- Python
- JS
- API
- CSS
- DOM
- ES5+
- react
- ES6+
- learn next.js
- array
- object
- gitCLI
- 변수
- AI
- hatso
- This
- JavaScript
- git
- es6
- hooks
- developerlife
- 우아한테코톡
- 선택자
- 햇소
- html5
- github
- 함수
- 최적화
- next.js
Archives
- Today
- Total
codinghatso
github의 2021년 8월 13일 권한 정책변경 본문
평화로운 공부중 하루 일과를 마치고.
$git push를 입력했지만
remote: Support for password authentication was removed on August 13, 2021.
Please use a personal access token instead.
remote: Please see
https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/
for more information.
fatal: unable to access
'https://github.com/[user_name]/[rep_name].git/': The requested URL returned error: 403
위 같은 오류 메세지가 발생하였고... 이를 해결하기 위한 몸부림이 시작되었다.
github의 정책변경으로 인한 access token 문제를 해결 방법을 공유하려고 합니다.
참고로 본 저자는 MacOS user이며 CLI 환경에서 git을 컨트롤하는 상태이라는 것을 알아두길 바랍니다.
1.step
2.step
3.step
4.step
5.step
6.step
7.stpe
macOS 는 키가 이미 등록되어있어 삭제를 한 후에 재등록 해야한다.
위 키체인 관리 목록에 들어가 github를 검색한 후 웹 양식을 제외한 나머지를 삭제하면 된다.
이후 다시 push를 시도하면 패스워드를 물어보는데 그때의 패스워드가 발급받은 토큰 번호이다.
Comments