1

遵循https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-https-unixes.html后,尝试克隆时出现以下错误:

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

这就是我的 .gitconfig 中的内容:

[credential]
        helper = aws configure codecommit credential-helper $@
        UseHttpPath = true

我在 OSX El Capitan 上。

4

1 回答 1

1

问题出在你的 gitconfig 中。将其更改为以下,它将起作用。

[credential]
        helper = !aws codecommit credential-helper $@
        UseHttpPath = true
于 2016-08-27T03:03:39.013 回答