Programming/Git
[Git] authentication failed 초기화 방법
배고프당
2020. 8. 10. 09:12
728x90
fatal: Authentication failed for ~~~~~
git 명령어를 사용하다가 인증을 하는 부분에서 username과 password를 썼는데 모르고 잘못써버렸다..
그리고 나서 다시 재시도하려고 하니 위에 적어놓은것처럼 실패했다는 메세지만 계속나옴
이를 해결하려면
git config --system --unset credential.helper
위 명령어를 통해 git config를 초기화 해주면 된다.
그리고 나서 다시 시도하면 username과 password를 다시 요구하게 되는데 이때 제대로 된 정보를 다시 입력하면 완료!
728x90