Gobi Dasu
Gobi Dasu

Reputation: 469

git credential osxkeychain cannot execute binary file

Hi I am following the GitHub guide.
But after executing the curl command, I get the following when I run git credential-osxkeychain:

/usr/bin/git-credential-osxkeychain: 
  /usr/bin/git-credential-osxkeychain: cannot execute binary file

Any ideas on how to solve this?

Upvotes: 3

Views: 1677

Answers (1)

VonC
VonC

Reputation: 1324937

That could be a right issue, especially if you didn't execute the:

chmod u+x git-credential-osxkeychain

Note that you need to download that file in a directory which is in your $PATH (which should be the case here, with /usr/bin).

Try a chmod a bit more large:

chmod 775 git-credential-osxkeychain

Upvotes: 2

Related Questions