Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

still being prompted for credentials after installing credential-osxkeychain

Tags:

git

github

Simple issue but I'm at a loss to debug this further. I followed the setup instructions here: https://help.github.com/articles/set-up-git to get my very own repository setup. I installed git-credential-osxkeychain and placed it like so:

-rwxr-xr-x@ 1 root  wheel    15520 Jun 11 21:43 git-credential-osxkeychain

If I run git credential-osxkeychain I get just as expected:

# Usage: git credential-osxkeychain <get|store|erase>

After installation, I'm prompted once, I supply my credentials expecting these to be stored in my keychain. But viewing Keychain access, I see nothing for github when I search and I'm prompted each and everytime I attempt a git push.

I'm running 10.7.4 mac os x with git version 1.7.7.4.

Any help on this annoying problem would be greatly appreciated.

Thanks!

like image 950
wittyhandle Avatar asked Jun 16 '12 00:06

wittyhandle


People also ask

How do I refresh my git credentials?

To update your credentials, go to Control Panel -> Credential Manager -> Generic Credentials. Find the credentials related to your git account and edit them to use the updated passwords as per the image below: I hope this helps with your Git issues. Special thanks to David who had to do the 'hard work'.

How do I clear my credential cache in git?

Go to Control Panel > User Accounts > Credential Manager > Windows Credentials. You will see Git credentials in the list (e.g. git:https://). Click on it, update the password, and execute git pull/push command from your Git bash and it won't throw any more error messages.


1 Answers

Possibly you're seeing an issue because your git is slightly out of date. I currently have git 1.7.10.4.

like image 97
nirvana Avatar answered Oct 13 '22 22:10

nirvana