git push origin master 명령어를 사용했더니

remote: Support for password authentication was removed on August 13, 2021. Please use a
personal access token instead.

이런 오류가 떴다.

에러원인은
더 이상 패스워드 기반 인증을 지원하지 않아서 생긴 것

Creating a personal access token - GitHub Docs

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

이걸 보고 그대로 따라해서 토큰을 발행한다.
그 후 패스워드 자리에 토큰 복사해서 붙여넣으면

성공!!

'Git' 카테고리의 다른 글

[GitHub] 깃허브 사용법  (0) 2022.01.29

+ Recent posts