Skip to content

Instantly share code, notes, and snippets.

@jamesguan
Created October 5, 2018 02:30
Show Gist options
  • Save jamesguan/4c7c2e00038c0b257059b36b8271a269 to your computer and use it in GitHub Desktop.
Save jamesguan/4c7c2e00038c0b257059b36b8271a269 to your computer and use it in GitHub Desktop.
How to remove the osxkeychain from git credentials
Do
You may try the following but may not succeed:
git config --local --unset credential.helper
git config --global --unset credential.helper
git config --system --unset credential.helper
On Mac, the configuration is stored in:
/Library/Developer/CommandLineTools/usr/share/git-core/gitconfig
You can also find where it is coming from using:
git config --show-origin --get credential.helper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment