2016-08-27 5 views
1

上のHTTPSでは動作しないクローンを作成しようとしたとき、私は次のエラーを取得する:AWS CodeCommitは<a href="https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-https-unixes.html" rel="nofollow">https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-https-unixes.html</a>に従った後OSX

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

これが何であるかである私の.gitconfigである:

[credential] 
     helper = aws configure codecommit credential-helper [email protected] 
     UseHttpPath = true 

私はOSX El Capitanにいる。

+0

ヘルパーをhelper =!aws codecommit credential-helper $ @に変更し、そのエラーが発生していないかどうかを確認します。 – error2007s

+0

それが問題でした。 .gitconfigが間違って生成された理由は何ですか? – Instabrite

+0

これを設定している間に実行したコマンドにエラーがあったはずです。それがあなたの問題を解決した場合は、私の答えを正しいものとしてマークしてください。 – error2007s

答えて

1

gitconfigに問題があります。それを下に変更すれば動作します。

[credential] 
     helper = !aws codecommit credential-helper [email protected] 
     UseHttpPath = true 
関連する問題

 関連する問題