Created
May 21, 2019 02:46
-
-
Save BoWang816/d3d8a64998899ad4dd5d4f421b1d3d4e to your computer and use it in GitHub Desktop.
[Git clone EOF early] #日常安装总结
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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