Resuming clones
Resuming clones
Posted Feb 11, 2026 21:55 UTC (Wed) by jengelh (subscriber, #33263)Parent article: Evolving Git for the next decade
In addition, there is no support for resuming a cloning operation
But there is! clone is just init+fetch+checkout, and "all that's left to do"™ is pick suitable checkpoints. Like so:
git init; git remote add origin https://..../linux.git for i in v2.6.12-rc2 v2.6.12-rc3 ... v6.19; do git fetch origin refs/tags/$i:refs/tags/$i done git fetch origin #git gc git checkout -b master origin/HEAD
