Skip to content

Instantly share code, notes, and snippets.

@BoWang816
Created May 21, 2019 02:46
Show Gist options
  • Save BoWang816/d3d8a64998899ad4dd5d4f421b1d3d4e to your computer and use it in GitHub Desktop.
Save BoWang816/d3d8a64998899ad4dd5d4f421b1d3d4e to your computer and use it in GitHub Desktop.
[Git clone EOF early] #日常安装总结
Git clone EOF early
解决办法:
1、First, turn off compression:
git config --global core.compression 0
2、Next, let's do a partial clone to truncate the amount of info coming down:
git clone --depth 1 <repo_URI>
3、When that works, go into the new directory and retrieve the rest of the clone:
git fetch --unshallow
Or, alternately,
git fetch --depth=2147483647
5、Now, do a regular pull:
git pull --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment