본문 바로가기

GIT

[Git] 깃허브 토큰 생성 하는 법 / remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

remote: Support for password authentication was removed on August 13, 2021. Please use a p
ersonal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-gi
t-operations/ for more information.

Ubuntu에서 clone을 하려고 하니 오류가 발생했다.

2021년 8월 13일부터 Account Password를 사용하지 않으니 push, pull, clone을 하려면

깃허브에서 토큰을 생성하여야 한다.

 

 

토큰 생성법

 

Personal access tokens - Genarate new token

 

Note : 간단한 설명

Expiration : 만료일자

scopes : 나중에도 변경이 가능하니 일단 repo만 체크해두었다.

 

 

하단에 Generate token 버튼을 클릭하여 생성된 토큰은

화면을 넘기면 다시 확인할 수 없으니 따로 저장해두어야 한다.

 

이제 비밀번호 대신 토큰을 입력하면 정상적으로 처리된다!

'GIT' 카테고리의 다른 글

LF will be replaced by CRLF the next time Git touches it 오류  (0) 2023.09.17
GIT과 GITHUB 연동하기  (0) 2023.09.17