[英]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. 我与bitbucket连接,我在我的计算机上安装了Git和sourcetree,我尝试将sourcetree和bitbucket连接在一起。 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'.
like this error 喜欢这个错误
I don't have any idea about credential-osxkeychain file, and I'm using windows os 我对credential-osxkeychain文件一无所知,而且我正在使用windows os
can anyone help me to solve this problem? 任何人都可以帮我解决这个问题吗?
Is there any chance that 有没有机会呢
$ git config --get credential.helper
is showing osxkeychain
? 正在展示
osxkeychain
? This only works in OS X. 这仅适用于OS X.
Try to find the according .gitconfig
file (probably in $HOME) and remove the credential helper line. 尝试找到相应的
.gitconfig
文件(可能在$ HOME中)并删除凭证帮助行。
EDIT: Atlassian documented the issue as well. 编辑:Atlassian也记录了这个问题 。
On a windows machine WinCred
can be used to store credentials. 在Windows机器上,
WinCred
可用于存储凭据。 Set Git to use windows credentials manager by running 设置Git以通过运行来使用Windows凭据管理器
git config --global credential.helper wincred
Try git fetch or pull
and it should prompt credentials again and store it in credential manager. 尝试
git fetch or pull
,它应该再次提示凭据并将其存储在凭证管理器中。
Credential manager can be found at Control panel (search would point at right direction). 可以在“控制”面板中找到凭据管理器(搜索将指向正确的方向)。 This would come in handy to delete credentials quickly.
这可以很方便地快速删除凭据。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.