GitHub for Mac error: git: 'credential-osxkeyc

2019-03-24 03:08发布

When using the GitHub for Mac app (version 87), I received the following error:

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

error: The requested URL returned error: 403 while accessing https://github.com/[PROJECT URL]/info/refs

fatal: HTTP request failed (256)

The git command-line tools (version 1.8.0) are installed at /usr/local/git/bin and git-credential-osxkeychain was correctly installed at /usr/local/git/bin.

How can I solve this error?

8条回答
该账号已被封号
2楼-- · 2019-03-24 03:50

this always 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 or you can update the settings with the path to git executable and you should find it in /usr/bin/git or you can print which git and point your Source tree app to use it

查看更多
唯我独甜
3楼-- · 2019-03-24 03:50

Try : git config --global credential.helper git

查看更多
登录 后发表回答