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

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

This widget could not be displayed.

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

This widget could not be displayed.

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

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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Canada

AUG Lunch Roundtable - August 13 - Highlights

Thanks to everyone who came out today for the lunch AUG - we had some great food and discussion (and ice cream sandwiches to fend off the heat!) The welcome and fun fact was great as well, what an aw...

30 views 1 3
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