Recently I've been getting a popup when pushing or pulling from upstream
git-credential-osxkeychain wants to use your confidential information stored in "github.com" in your keychain. The authenticity of "git-credential-osxkeychain" cannot be verified. Do you want to allow access to this item?
I click Always allow, but it doesn't do anything. The only button that works is Deny, and then I have to enter in my github username and pw.
I used to be able to do all this automatically without this happening... how do I fix this?
Updating your credentials via Keychain AccessType Keychain access then press the Enter key to launch the app. In Keychain Access, search for github.com. Find the "internet password" entry for github.com . Edit or delete the entry accordingly.
On Mac, use the command git credential-osxkeychain erase . OR remove manually from keychain from Applications → Utilities → Keychain Access. Then remove the github.com keychain. Then use push; it will ask for the keychain access; then deny.
You could also disable the use of the Git credential cache using git config --global --unset credential. helper. Then reset this, and you would continue to have the cached credentials available for other repositories (if any). You may also need to do git config --system --unset credential.
This fixed the issue for me:
Keychain Access
Keychains -> login
and Category -> Passwords
github.com
in search box, you should see an entry (or entries) of Internet Password
kind for github.com
. Right click & Delete them.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With