본문 바로가기

프로그래밍/기타

Git error 해결하기 fatal: Authentication failed for ~

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

구글링해서 깃허브에 프로젝트 등록 중 에러가 발생...

ID / PWD 입력 후 발생한 에러로 알고보니 정책이 바뀌어 비밀번호가 토큰값으로 변경되었다고 ~ ㅠ

해결방법은 아래와 같습니다.

 

 

 

 

1. 깃허브에 접속

 

GitHub: Where the world builds software

GitHub is where over 83 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 feat...

github.com

 

2. Settings > Developer settings 클릭

3. Personal access tokens 탭 클릭

4. Generate new token 버튼 클릭

 

5. Note, Expiration, Select scopes(repo 선택) 입력

 

6. 토큰 생성후 토큰값 복사하여 Password 입력할 때 붙여넣기

 

끝.