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