[오류해결] fatal: Authentication failed for ...

LEE JIYUN·2021년 7월 22일
0

Errors

목록 보기
1/1

오류발생상황

git add.
git commit -m {commitMessage}
git push origin {branchName} * 여기서 에러가 발생

오류메시지

remote: Invalid username or password.
fatal: Authentication failed for 
'https://github.com/limo-sum/{repository}.git/'

해결방법

git config --system --unset credential.helper

검색해보니 이 명령어를 입력하면 다들 해결이 되었는데,
나는 어째서인지 계속 Permission denied만 돌아왔다. 왜... 어째서...?

찾아보니 global 영역 설정이 문제를 일으킨 경우 --global로 처리해야 한다. 위에서 해결이 되지 않는다면 명령어로 해결!
git config --global --unset credential.helper

0개의 댓글