- 증상 : 로컬 저장소에서 코드 변경, 커밋하고 푸시할 때 진행중 문구만 나오며 완료되지 않음
- 원인 : '21.8.13일부터 깃허브 비밀번호 정책 변경 (계정 보안을 위해 기존에는 개인비밀번호 외 다른 수단을 권장 -> 필수로 변경)
ㅇ 깃허브 관련 정책 공지 : https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/#what-you-need-to-do-today
Token authentication requirements for Git operations | The GitHub Blog
Beginning August 13th, 2021, we will no longer accept account passwords when authenticating Git operations on GitHub.com.
github.blog
- 해결 : 깃허브 계정에서 PAT (Personal Access Token) 생성 후 비밀번호처럼 사용 (실제로 비밀번호 넣는 곳에 이 토큰을 입력)
ㅇ 깃허브 계정 토큰생성 방법 : https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token
Creating a personal access token - GitHub Docs
Personal access tokens (PATs) are an alternative to using passwords for authentication to GitHub when using the GitHub API or the command line. If you want to use a PAT to access resources owned by an organization that uses SAML SSO, you must authorize the
docs.github.com
혹 제가 잘못 이해한 부분이 있다면 알려주시면 업데이트 하겠습니다.
'분석 > Github' 카테고리의 다른 글
[github] 초보자의 깃허브 탐방 (0) | 2018.04.19 |
---|---|
[깃허브] 생활코딩(2) (0) | 2018.02.01 |
[깃허브] 생활코딩(1) (0) | 2018.02.01 |
[Git] 깃허브를 배워보자 (0) | 2018.01.29 |