gpt4 book ai didi

git - AWS CodeCommit - fatal error : repository 'https://git-codecommit.us-east-1..' not found

转载 作者:太空狗 更新时间:2023-10-29 13:20:34 27 4
gpt4 key购买 nike

我有一个 AWS 账户。我在 us-east-1 区域创建了一个存储库。当我尝试从我的 Mac 终端访问它时,出现错误 fatal: repository 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/demo/' not found。我能够使用 SourceTree GIT 客户端访问此存储库。

我在加利福尼亚地区创建了另一个存储库,我能够从终端本身访问该存储库。

为什么我的 Mac 终端在特定 AWS 区域找不到存储库?

最佳答案

我点击了 VonC 和 Uzair 提到的链接,我能够在输入后进入 CLI git 命令工作:

git config --global credential.UseHttpPath true

感谢 VonC。PS:确保你安装了最新版本的 git。 CodeCommit 支持 Git 1.7.9 及更高版本。

关于git - AWS CodeCommit - fatal error : repository 'https://git-codecommit.us-east-1..' not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50635130/

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