Git

Git clone remote: HTTP Basic: Access denied, error: colud not lock config ...

__bo0o_ 2020. 10. 22. 15:35

 

 

git clone을 받아올 때

remote: HTTP Basic: Access denied

fatal: Authentication failed for ...

위와 같은 오류가 떴을 시

 

git config --system --unset credential.helper

위 명령어를 통해 git config를 초기화 시켜주시면 됩니다.

 

하지만 명령어를 쳤음에도

error: could not lock config file ...

오류가 났을 경우에는

 

git을 관리자 권한으로 실행시켜주신 다음, 다시 진행하시면

 

git clone이 정상적으로 되는 것을 확인할 수 있습니다.

 

 

 

참고

stackoverflow.com/questions/38217820/error-during-cloning-project-and-cant-unset-credentials

반응형

'Git' 카테고리의 다른 글

Git commit message  (0) 2022.03.16
Sourcetree gitlab CE 계정 추가  (0) 2021.06.28
Sourcetree Clone 유효한 소스 경로/URL이 아닙니다.  (0) 2021.06.28
Git pull  (0) 2019.04.01
Ubuntu 16.04 Git 설치  (0) 2018.11.27