2014-07-21 'Failed to clone a large git repository: The remote end hung up unexpectedly'
When git clone a large repository sometimes it give you the error message like this:
1
$ git clone ssh://[email protected]:29418/xxx
2
Cloning into 'xxx'...
3
remote: Counting objects: 356213, done
4
remote: Finding sources: 100% (356213/356213)
5
Corrupted MAC on input. (277847/356213), 123.59 MiB | 3.86 MiB/s
6
Finished discarding for xxx
7
fatal: The remote end hung up unexpectedly
8
fatal: early EOF
9
fatal: index-pack failed
Copied!
If you got this error message, you might want to try run the following command to fix it
1
git config --global http.postBuffer 524288000
2
git config --global --add core.compression -1
Copied!
最近更新 1yr ago
复制链接