티스토리 뷰

오류 원인?

1. github 웹페이지에서 repository를 readme.md파일 추가후 생성

 

2. CLI(Command Line Interface)로 git clone URL을 해서 파일을 생성

 

3. test.txt 파일을 생성 후 git add, commit 진행

 

4. git push 후 오류발생

오류내용: 

Username for 'https://github.com':  username
Password for 'https://Harimad@github.com':  SSH키 입력
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com/Harimad/Nomad_React_GIT.git/'

 

-> 비밀번호 인증 지원은 2021년 8월 13일에제거되었습니다. 대신 개인 액세스토큰을사용하세요. 

어제부로 이제 비밀번호가 토큰이나 ssh 둘중하나로 인증을 해야한다.

 

 

해결책?

personal access token 을 이용한 로그인 방법에 대해 정리했다.

https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token

 

Creating a personal access token - GitHub Docs

Note: If you use GitHub CLI to authenticate to GitHub on the command line, you can skip generating a personal access token and authenticate via the web browser instead. For more information about authenticating with GitHub CLI, see gh auth login. Personal

docs.github.com

아래 블로그에 정리가 잘 되어있다. 참고!

https://hyeo-noo.tistory.com/184

 

[Mac] GitHub push token 오류 해결

Github 오류 7.29일 새벽 갑자기 git push가 안 되는 현상을 겪었다. 오류의 첫 줄이 무슨 말이냐면 Password 인증방식이 일시적으로 brownout(shutdown?)되었다. Password 대신에 personal access token을 사용..

hyeo-noo.tistory.com

 

한 줄 정리: git push 안되서 확인해보니 personal token을 만들어서 비밀번호로 써야했다. 

'CS > Git' 카테고리의 다른 글

GIT 명령어 정리  (0) 2022.06.20
[Visual studio 사용자를 위한 git] intro  (0) 2022.06.12
[GIT] 특정 commit 삭제하기  (0) 2022.03.08
[Ellie Git] Branch  (0) 2022.02.14
[Ellie Git] 기본명령어  (0) 2022.02.13
댓글
다크모드
Document description javascript psychology
더보기 ,제목1 태그 호버