How do I remove my credentials from git shell?
I am on a shared computer (Windows) that has remembered my git login details. I have tried closing git shell but when I reopen it I am still logged in (doesn't ask for my details when I do a git operation).
I'd prefer not to restart the computer, as this wouldn't be an option all the time for me.
Hopefully not a repeat of this:
http://stackoverflow.com/questions/15381198/remove-credentials-from-git
- I couldn't find the git-credential-cache daemon under "services" or "processes"
- There was nothing about the credential helper in ~/.gitconfig
git remote -vreturns? Remember a simple git operation likegit logwould never ask you for credentials anyway, so what "git operation" are you doing which should ask you for credentials?git remote -vwas returning a github url. It was a private github repository I was cloning/pushing/pulling from, so I should have asked for a password for those operations.