I have been struggling with this problem for 2 hours now....a when I try to pull, SourceTree asks for my password, this never used to happen. I enter the password multiple times and finally I get the error below. Is there some reason why SourceTree cannot find what it is looking for in the keychain and HOW DO I FIX THIS??
git -c diff.mnemonicprefix=false -c core.quotepath=false fetch https://mikecoppola16@bitbucket.org/mtldigitalservicesgroup/oracea_ios_2013_poa2_salesaid git: 'credential-osxkeychain' is not a git command. See 'git --help'. 2013-04-05 11:34:10.081 Askpass[54107:707] Error (internetKeychainItemForServer:withUsername:path:port:protocol:) - The specified item could not be found in the keychain. git: 'credential-osxkeychain' is not a git command. See 'git --help'. From https://bitbucket.org/mtldigitalservicesgroup/oracea_ios_2013_poa2_salesaid * branch HEAD -> FETCH_HEAD git -c diff.mnemonicprefix=false -c core.quotepath=false pull https://mikecoppola16@bitbucket.org/mtldigitalservicesgroup/oracea_ios_2013_poa2_salesaid master git: 'credential-osxkeychain' is not a git command. See 'git --help'. 2013-04-05 11:34:17.142 Askpass[54139:707] Error (internetKeychainItemForServer:withUsername:path:port:protocol:) - The specified item could not be found in the keychain. git: 'credential-osxkeychain' is not a git command. See 'git --help'. From https://bitbucket.org/mtldigitalservicesgroup/oracea_ios_2013_poa2_salesaid * branch master -> FETCH_HEAD error: Your local changes to the following files would be overwritten by merge: development/app/view/1-4/Page_1-4.js Please, commit your changes or stash them before you can merge. Aborting Updating 5856aa3..17713ac Completed with errors, see above
Here are the steps, written clearly for anyone, like myself who is new to Git and SourceTree:
1. I reinstalled git by going here:
https://help.github.com/articles/set-up-git#platform-mac
2. I verified credential-osxkeychain IS installed by executing this command at the Terminal:
mtnetl-nmx3874:~ michael.coppola$ git credential-osxkeychain
Usage: git credential-osxkeychain <get|store|erase>
3. From the Terminal: execute this line:
ln -s /usr/local/git/bin/git-credential-osxkeychain /Applications/SourceTree.app/Contents/Resources/git_local/bin/git-credential-osxkeychain
Not working at all, when i press pull it ask me 2 times for the password
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin 2014-05-06 12:26:41.681 git-credential-sourcetree[5540:507] Error (internetKeychainItemForServer:withUsername:path:port:protocol:) - The specified item could not be found in the keychain.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
git-credential-osxkeychain is nowhere to be found. You must find it (if not exists, reinstall) and maybe symlink it like:
ln -s /usr/local/git/bin/git-credential-osxkeychain /real/path/to
/git-credential-osxkeychain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's all in there
curl -s -O \ http://github-media-downloads.s3.amazonaws.com/osx/git-credential-osxkeychain# Download the helper chmod u+x git-credential-osxkeychain
sudo mv git-credential-osxkeychain `dirname \`which git\``
git config --global credential.helper osxkeychain
Do you need more ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you mean git ? https://help.github.com/articles/set-up-git#platform-mac
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm sorry but I don't undertsand all the comand line entries you just wrote. Is there a packge installer?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You said reinstall "git-credential-osxkeychain" ...how do I reinstall that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mike, I'm curious: why did you buy a Mac ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. I reinstalled git by going here:
https://help.github.com/articles/set-up-git#platform-mac
2. I verified credential-osxkeychain IS installed by executing this command at the Terminal:
mtnetl-nmx3874:~ michael.coppola$ git credential-osxkeychain
Usage: git credential-osxkeychain <get|store|erase>
3. SourceTree still prompts me for a password and I get the same orginal error as my question states.
Now what step do I take?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.