Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Git Clone a huge large repository
git clone https://github.com/torvalds/linux.git --depth=1
cd linux
for i in {1..100000..10};do git fetch --depth=$i;done
git fetch --unshallow
@HoldYourWaffle

This comment has been minimized.

Copy link

HoldYourWaffle commented Feb 4, 2018

I made it into a script file here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.