git push에서 비밀번호 입력하고 나서
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/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/kcyeon0127/kcyeon0127.github.io.git/'
비밀번호가 아니라 토큰을 발급받아 입력해야 한다고 한다.
1. Token 생성
Note : 무슨 용도의 토큰인지 적기
expiration : 사용을 원하는 기간 선택
Selsct scpes : 레퍼지터리 관리 정도만 할 거라면 repo에 체크
맨 아래 Generate token 클릭
2. Person Access Token 확인 및 복사
토큰 생성 완료!
다시는 안보여주니까 잘 캡처해서 저장하거나 다른곳에 저장해놓기
이제 git push 를 할 수 있게 되었다
'오류!' 카테고리의 다른 글
Mac에서 gem 을 이용한 jekyll 설치가 안된다(Gem::FilePermissionError) (0) | 2024.05.10 |
---|