1

How can I unset the password associated my GIT repo's HTTPS remote? It has remembered it somewhere along the line and I would rather retype it on every push.

4
  • What does git config credential.helper say? Feb 17, 2018 at 2:31
  • It returns the string "manager". Feb 17, 2018 at 3:24
  • Then it looks like you are using this: github.com/Microsoft/Git-Credential-Manager-for-Windows - please try to check those docs and see if that's what you're using and how to use it. Feb 17, 2018 at 5:29
  • 1
    In case others follow the answer in the duplicate question (editing the .gitconfig file), but start getting Java GitConfigInvalid exceptions (invalid .gitconfig file) when creating new files in the repo, remember to have a blank line at the end of the .gitconfig after doing a $git config --global --edit Feb 26, 2018 at 23:29

1 Answer 1

6

See "Use Windows Credential Store for Git to remember your login for TFS, Bitbucket and such"

Since your credential.helper is "manager", you simply need to open the Windows Credential Manager and remove your credentials associated to your remote repo.

https://kwilson.io/blog/wp-content/uploads/2015/01/4-store.png

Not the answer you're looking for? Browse other questions tagged or ask your own question.