pause git clone and resume later?

황현정 picture 황현정 · Oct 18, 2011 · Viewed 27.8k times · Source

Is there a way to pause git clone and resume it later? I'm cloning a really big repo (around 2GB) and my PC's been turned on for more than 40 hours. I have school to catch later, I don't want to leave it like this. Anybody got an idea? It's already at 67% btw. :(

Answer

Jared picture Jared · Apr 19, 2012

Depending on your situation (e.g. if you want to close your laptop and / or switch networks), stopping the process (using Ctrl-Z) and resuming it (using fg) might work for you.