인증 오류
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/XXX/XXX.git/': The requested URL returned error: 403
더 이상 비밀번호 인증만으로는 안되고 개인 엑세스 토큰을 만들어서 사용해야 한다
엑세스 토큰생성
github에 들어가서 아래 사진에 표시된 버튼을 눌러준다.
이제 토큰명, 기간, 스코프를 입맛에 맞게 설정하시면 된다.
설정을 완료하시면 아래처럼 토큰이 생성됩니다. 잊어버리지 않도록 잘 보관해야한다.
토큰 적용하기 - 소스트리
이제 생성한 토큰정보를 아래처럼 붙여주면 해결할 수 있습니다!
https://<토큰 값>@github.com/<사용자명>/<레포지터리명>.git
정상적으로 푸시가 된다.
출처: https://zangzangs.tistory.com/114 [장장스]
'프로그래밍 > Git & Github' 카테고리의 다른 글
2021년 9월 11일 - Github 잔디밭 조작하기 (0) | 2021.09.11 |
---|---|
2021년 8월 29일 - github 오류 "warning: LF will be replaced by CRLF in index.html" (0) | 2021.08.29 |
2021년 8월 6일자 - Github Contribution 문제 (0) | 2021.08.06 |
2021년 8월 4일 - Github push할 경우, "github remote rejected" 오류 대처 (0) | 2021.08.04 |
2021년 8월 1일 - Github 업로드 이후 "Editor does not contain a main type" 발생 원인과 대처방안 & 여전히 남은 궁금증 (0) | 2021.08.01 |
댓글