问题描述
我正在使用Atlassian的SourceTree在Mac OS上与git一起使用,并选择AWS CodeCommit作为远程托管服务器。
在这些
然后尝试将已创建的空仓库从AWS克隆到SourceTree:
我得到了打印出来的错误:
当然,由于AWS CodeCommit需要证书助手到位,只有解决方案2在概念上适用于您的方案,并且您需要根据CodeCommit凭据助手的需要调整链接源和目标。
I'm using Atlassian's SourceTree to work with git on Mac OS, and choose AWS CodeCommit as the remote hosting server.
Following these steps for HTTPs connection between AWS and my local repo,
here's how my git config --global --edit
looks like:
Then try to clone a created empty repo from AWS to SourceTree:
And I get error printed out:
UPDATE
Tried the answer provided by @Steffen Opel and got more like:
Did I miss anything?
I have not tested this, but given AWS CodeCommit facilitates a credential helper too and the error beingcommand not found
, I would assume you are affected by the same issue outlined in the SourceTree Knowledge Base article Credential helpers "git: 'credential-osxkeychain' is not a git command. See 'git --help'.":
Of course, since AWS CodeCommit requires the credential helper to be in place, only solution 2 is conceptually applicable for your scenario and you need to adjust the link source and targets as appropriate for the CodeCommit credential helper.
这篇关于无法将SourceTree连接到AWS CodeCommit的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!