i get the following error when i git pull from an aws repo using codecommit:
git fetch fatal: Failed to write item to store. [0x6c6] fatal: The array bounds are invalid
git commit works
but after a git push my changes dont persist on the remote repo
I was facing a similar error. However, in my case the commits were working just fine, but I was getting the following error message all the time:
fatal: Failed to write item to store. [0x6c6]
fatal: The array bounds are invalid
My Usual use of GCM was the point of failure for me (your context may be different). Basically, it seems like CodeCommit repos need to be told not to even try a GCM call, by removing GCM as a credential helper for this repo.
Set this git repo to NOT have GCM as a helper. (See some discussion at this AWS forum post, I'm indebted to Simon Heather for pointing out the best wey to do this).
git config credential.helper ""
The error message goes away.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With