Ad

Cloning Repository From AWS Codecommit

I am currently using SSH Key to clone repository from AWS Codecommit to my local machine. My

ssh git-codecommit.us-east-2.amazonaws.com

has successfully connected.

My problem is that when I run this:

git clone ssh://git-codecommit.us-east-2.amazonaws.com.amazonaws.com/v1/repos/Project

it is cloning my project but after 100% of cloning, I keep getting this error

remote: Counting objects: 1024, done.
client_loop: send disconnect: Connection reset by peer KiB/s
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

I cannot find answers around google and hoping that someone will help me with this. What is the possible causes of these error? Thank you in advance!

Ad

Answer

Try increasing the buffer

git config --global ssh.postBuffer 1048576000

If it doesn't work then use TortoiseGit software, It helped me when I faced the same problem like yours

Ad
source: stackoverflow.com
Ad