본문 바로가기
지식인

Github private repository clone

by 패쓰킴 2021. 8. 14.
728x90

private repository를 clone 하려고 하니 아래와 같은 에러가 발생하였다.

Cloning into '레포지토리명'...
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/NORIKIM/레포지토리명/': The requested URL returned error: 403


해결을 해보자!
Github 프로필 설정으로 들어갑니다


왼쪽 메뉴 하단에 'Developer Setting'!


personal access token 메뉴를 눌러주고


Generate new token


원하는 설정을 해준다


창 최하단의 Generate token 버튼을 눌러주면 토큰 생성 완료!


생성된 토큰을 복사해줍시다



이제 준비가 끝났어요!!!
터미널을 열고 레포지토리 위치까지 가줍시다


이제 오류 없이 private 레포지토리가 clone이 됩니다.

728x90

'지식인' 카테고리의 다른 글

클린아키텍처  (0) 2023.09.14
GIT  (1) 2022.12.12
하나의 macOS에서 여러 Github 사용  (0) 2022.08.05
Locale identifier  (0) 2022.03.22
용어 사전  (0) 2021.12.15

댓글