问题描述
我正在使用Windows,并且正在尝试使用git-remote-codecommit。
使用git-remote-codecommit与AWS CodeCommit进行HTTPS连接的步骤。
https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-git-remote-codecommit.html
提取时,此错误显示:
git clone codecommit://MyRepositoryName
git: 'remote-codecommit' is not a git command. See 'git --help'
请帮助。
解决方法
需要在终端运行这个命令来解决这个问题pip3 install git-remote-codecommit
或pip install git-remote-codecommit
我遇到了类似的问题。事实证明,git-remote-codecommit 扩展以某种方式安装但损坏了。
我先修好了
- 卸载:pip3卸载git-remote-codecommit
- 重新安装:pip3 install git-remote-codecommit
安装将检查 Python3 是否在您的 $PATH 中,如果没有,您需要添加它。
这为我解决了问题。