DEV/Git

[Git] git config --unset credential.helper (username, password 초기화)

zineeworld 2020. 12. 1. 15:03
반응형

깃헙에서 비밀번호를 변경 후에 로컬에서 푸시를 하려고 하면 에러가 난다.

바뀐 비밀번호를 적용해야 하는데 그 전에 초기화 하는 방법은 아래와 같다.

$ git config --unset credential.helper

 

이후 git push 하면 다시 Username, Password 를 입력하라는 안내가 나온다.

이에 맞춰서 다시 업데이트 된 값을 넣어주면 완료!

 

반응형