반응형
git add 와 git commit -m " " 까지는 순조롭다가
git push origin master 에서 Username과 Password 입력하고 난뒤 오류.
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/******/*****.git/'
github나 gitlab 에서 아이디 비번이 변경 되었는데 local에서 변하지 않았기 때문이다.
- 해결 방법
git config --system --unset credential.helper
코드블럭에 있는 코드를 입력하고 다시 push를 했을때
Username과 Password를 다시 물어본다.
이때 github이나 gitlab 에서 바꾼 아이디 비번을 제대로 입력하면 해결 된다.
반응형
'이슈(오류) > 해결' 카테고리의 다른 글
git - Your local changes to the following files would be overwritten by merge [git pull 오류 해결] (0) | 2020.12.25 |
---|---|
Pulling is not possible because you have unmerged files. - git pull 오류 해결 (0) | 2020.12.24 |
git - CRLF 오류 해결 (0) | 2020.12.18 |
gitbash 에서 git push 오류 해결 (0) | 2020.12.16 |
[HMR] Waiting for update signal from WDS 해결 (0) | 2020.12.16 |
댓글