Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I connected with bitbucket and I installed Git and sourcetree in my computer and I try to connect sourcetree and bitbucket together. but I couldn't connect both. when I try to clone repository source path, it says

this is not a valid source path... 
git: 'credential-osxkeychain' is not a git command. See 'git --help'.

enter image description here

like this error

I don't have any idea about credential-osxkeychain file, and I'm using windows os

can anyone help me to solve this problem?

like image 737
anuruddhika Avatar asked Dec 02 '15 03:12

anuruddhika


1 Answers

Is there any chance that

$ git config --get credential.helper

is showing osxkeychain? This only works in OS X.

Try to find the according .gitconfig file (probably in $HOME) and remove the credential helper line.

EDIT: Atlassian documented the issue as well.

like image 191
iltempo Avatar answered Oct 19 '22 23:10

iltempo