git - 我无法使用 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 之后,我的更改不会保留在远程仓库中
解决方案
大家好我也面临同样的问题,就我而言,我们有 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。
这为我解决了这个问题。
推荐阅读
- cakephp - CakePdf 在 php5.6 服务器上
- javascript - 当 Svelte 应用程序侦听时,服务器无限期挂起
- python - 在 R 中为一维数据运行 CNN 时出错
- steganography - 在 Binwalk 中提取未知文件类型,例如 .pyc 文件
- c# - SSMS 登录成功,但无法从 C# 连接
- jenkins - Jira-Trigger 插件未使用 JQL 过滤器触发 jenkins 作业
- flutter - Flutter & AlertDialog :如何将其与底部对齐?我如何制作像这张照片一样的 2 个警报对话框?
- python - Python Selenium 随机 xpath 点击
- javascript - 如何使用 Tampermonkey 检查 webelement 状态变化之间的时间差
- python - 如何识别图像的梯度行为