기존에는 Git 계정, 패스워드 방식으로 push 인증을 하였었는데
8월 13일 부터 바뀐 정책으로 인해 push, pull, clone 을 하기 위해서는 Token(토큰)이 필요하다.
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: unable to access 'https://github.com/JirongKim/Baekjoon.git/': The requested URL returned error: 403
이런 403 에러 메시지가 발생하게 된다.
토큰은 아래와 같은 절차로 발급받을 수 있다.
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
발급받은 토큰은 아래 절차대로 등록하면 된다.
1. Spotlight 검색으로 '키체인 접근' 접속
2. 이름이 'github.com'인 항목을 찾아 더블클릭
3. 암호보기를 선택 후 암호란에 발급받은 토큰을 입력
4. git push, pull, clone 해보기
'프로그래밍 > 개발 이야기' 카테고리의 다른 글
[MySql] 에러 해결 방법 모음 (0) | 2021.12.13 |
---|---|
[GIT] reset --(soft/hard/mixed) 쉬운 설명 (0) | 2021.10.31 |
Linked LIst의 정렬 (입력 할 때마다 O(N)) (0) | 2021.05.29 |
빵돌이를 위한 앱 개발 (0) | 2021.05.21 |
[백준] 11000번 문제풀이 (0) | 2021.05.20 |
댓글