git은 2021년 8월 13일을 기점으로 본인 인증을 하는데 있어서 비밀번호 인증을 더 이상 지원하지 않습니다.
대신 인증을 위해 personal access token을 사용해야 합니다.
엑세스 토큰 발급 방법
1. 사용자 이미지 옆 화살표를 클릭한 후 [Settings]를 클릭합니다.
2. 왼쪽 메뉴 중에 [Developer settings]를 클릭합니다.
3. [Personal access tokens]를 클릭합니다.
4. [Generate new token] 버튼을 클릭합니다.
5.
기한 : No expiration.
Select scopes : repo만 체크
6. [Generate token] 버튼을 클릭하면, 토큰 생성이 완료됩니다. 이 생성된 토큰 정보는 생성 시점에 딱 한 번만 보여주기 때문에 복사해서 메모앱 등에 정리해두셔야 합니다. 그렇지 않으면 다시 또 생성하셔야 합니다.
이제 새로 발급 받은 personal access token으로 git push를 할 수 있습니다. 확인해보니 잘 되네요.
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/latecomer32/React_SpringBoot.git/'
'Git hub' 카테고리의 다른 글
[Git]The requested URL returned error: 403 (fatal: unable to access) (0) | 2022.08.10 |
---|---|
git 에서 https repository 연결시 SSL 인증서 오류 해결법 (0) | 2022.05.29 |
지옥에서 온 관리자 Git (메타코딩편) (0) | 2022.03.19 |
Git revert 실패.. (0) | 2022.02.10 |
Git Rollback(reset, revert) (0) | 2022.02.10 |
댓글