首页 > 解决方案 > 我无法使用 aws codecommit 推送。我的更改不显示

问题描述

当我使用 codecommit 从 aws 存储库 git pull 时出现以下错误:

git fetch fatal: Failed to write item to store. [0x6c6] fatal: The array bounds are invalid git commit 有效,但是在 git push 之后,我的更改不会保留在远程仓库中

标签: gitamazon-web-servicesaws-codecommit

解决方案


大家好我也面临同样的问题,就我而言,我们有 AWS 联合访问帐户。我在哪里使用以下命令进行克隆。因此,在拉和推时,我在 Visual Studio 2019 中也面临错误。

命令

git clone codecommit::us-east-1://myrepository

错误

克隆到“myrepository”...

致命:无法将项目写入存储。[0x6c6]

致命:数组边界无效

解决方案

在安装“Git Credential manager for Window”后,我从这个 URL
https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases获取了最新版本的“Git Credential manager for Window”exe现在设置

打开 Visual Studio-> 工具-> 选项-> 源代码控制-> Git 全局设置-> 凭据助手-> GCM for Windows。

这为我解决了这个问题。


推荐阅读