AWS CodeCommit не работает с HTTPS в OSX

После выполнения 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.

1 ответ

Решение

Проблема в вашем gitconfig. Измените это на ниже, и это будет работать.

[credential]
        helper = !aws codecommit credential-helper $@
        UseHttpPath = true
Другие вопросы по тегам