gpt4 book ai didi

git - AWS Codecommit Git 克隆错误 : fatal: unable to find remote helper for 'codecommit'

转载 作者:行者123 更新时间:2023-12-03 15:40:42 26 4
gpt4 key购买 nike

我正在尝试从我们的私有(private)代码提交中克隆存储库,我有必要的访问权限,但是每当我尝试在本地克隆时,我都会收到错误消息:

git clone codecommit::us-east-1://my-repo-name

fatal: unable to find remote helper for 'codecommit'

我之前遇到过远程助手错误,但对于 https 可以通过 ssh 键解决,但这是我第一次看到这个。

最佳答案

我找到了解决方案。安装 git-remote-codecommit 时必须有 3 或更高版本的 python

pip install git-remote-codecommit

由于某种原因,安装 python 2.7 时它没有正确安装。
❯ git clone codecommit::us-east-1://my-repo-name
Cloning into 'my-repo-name'...
remote: Counting objects: 171562, done.
remote: processing
Receiving objects: 98% (118068/171562), 56.20 MiB | 3.09 MiB/s

之后它完成并正常工作。

关于git - AWS Codecommit Git 克隆错误 : fatal: unable to find remote helper for 'codecommit' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62337119/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com