Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

git: 'credential-osxkeychain' is not a git command. See 'git --help'. fatal: Authentication failed

swathi konakondla March 25, 2013

git: 'credential-osxkeychain' is not a git command. See 'git --help'.
fatal: Authentication failed

error: unable to read askpass response from '/Applications/SourceTree.app/Contents/Resources/Askpass'

getting this error when i am pushing to the repositroy from source tree

3 answers

2 votes
KieranA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 26, 2013

Hi Swathi,

The reason for this is because you most likely have a hook which gets your password from the keychain. It can't work because that config doesn't work with embedded git. You can either switch to using system git in your SourceTree preferences or resolve using something similar to this: http://stackoverflow.com/questions/13661354/github-for-mac-error-git-credential-osxkeychain-is-not-a-git-command

Hope that helps

1 vote
Ahmad Mohamad Zain November 3, 2013

this alloys happens with source tree app and the solution that you change the settings to use the system git not the embedded git with source-tree because source tree is using an older version

Yair Szarf June 17, 2015

after a lot of looking around, this fixed it for me, Thanks!

0 votes
KieranA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 10, 2013

Just an update on this. We have 'fixed' this, but the error may still be present. It's not an error, it's more of a warning (the osxkeychain) just to say it couldn't find the authentication helper that's configured. It won't cause authentication to fail through SourceTree, it just won't use one that's set up.

Cheers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events