I got tired of typing my password for my bitbucket repo so I looked up a way to use ssh keys but happened upon the osx credential keychain. I thought I had installed it all correctly by following along with what was instructed in the git-scm book but something bad happened...I can't use git at all!! I then went and rm'd the credential-osxkeychain but that didn't fix my issue, neither did uninstalling and reinstalling git.
If I go into a repo that I had previously pulled down, change a file and run git status
it hangs indefinitely.
If I make a new directory, cd into it and run git init
that will hang indefinitely as well.
When I run git
without any arguments the following is printed out: Usage: git credential-osxkeychain <get|store|erase>
. I already looked at my /Applications/Utilities/Keychain Acces.app
but I couldn't find anything to change. At this point I just want git
back...I'm fine with typing my password.
For reference I am using OSX 10.7.2
edited to add: which git
returns /usr/bin/git
.bash_profile
,.bashrc
and.gitconfig
– Petro