본문 바로가기
목차
Git hub

[Git] personal access token 발급 방법

by 지각생 2022. 8. 7.
728x90

 

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/'

728x90

댓글