PULL: WHY KEEPS ASKING FOR password??

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

3 answers

1 accepted

This widget could not be displayed.

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

This will link the git-credential-osxkeychain to SourceTree via the git_local/bin directory
It seems I still have to input my password a couple times before SourceTree pulls or pushes , but at least it works now.....

This widget could not be displayed.

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

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 ?

I'm sorry but I don't undertsand all the comand line entries you just wrote. Is there a packge installer?

How do I reinstall it?

You said reinstall "git-credential-osxkeychain" ...how do I reinstall that?

Mike, I'm curious: why did you buy a Mac ?

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?

This widget could not be displayed.

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Thursday in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

47 views 0 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you