Git AWS CodeCommit在OSX上不能与HTTPS一起工作
执行以下操作后,尝试克隆时出现以下错误:Git AWS CodeCommit在OSX上不能与HTTPS一起工作,git,amazon-web-services,aws-codecommit,Git,Amazon Web Services,Aws Codecommit,执行以下操作后,尝试克隆时出现以下错误: git: 'credential-aws' is not a git command. See 'git --help'. 这是my.gitconfig中的内容: [credential] helper = aws configure codecommit credential-helper $@ UseHttpPath = true 我在OSX El Capitan上。问题在您的gitconfig中。将其更改为下面,
git: 'credential-aws' is not a git command. See 'git --help'.
这是my.gitconfig中的内容:
[credential]
helper = aws configure codecommit credential-helper $@
UseHttpPath = true
我在OSX El Capitan上。问题在您的gitconfig中。将其更改为下面,它将工作
[credential]
helper = !aws codecommit credential-helper $@
UseHttpPath = true
将helper更改为helper=!aws codecommit credential helper$@并查看是否出现该错误?这就是问题所在。知道它为什么不正确地生成了.gitconfig吗?不知道您在设置它时运行的命令中一定有错误。如果这解决了你的问题,请将我的答案标记为正确。