Working with Large Repos: Git LFS, Partial Clone, Sparse Checkout, Shallow Clone and Removing Big Files from History
Even a deleted file stays in the history and inflates every clone; the fix is to skip that weight with partial clone, sparse checkout and shallow clone, and to clean the history for good with git filter-repo. We move Bookstore's book covers to Git LFS and try GitHub's LFS quotas, fetch-depth in CI and scalar with Git 2.56.
15 Nov 2026
·
13 min
·
7