Shallow Cloning Large Repos With Towergit: Fetch Recent History Only
Towergit's shallow clone lets you fetch only recent revisions, saving time and disk space here's how to use it verify depth and restore full history when needed.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Towergit's shallow clone lets you fetch only recent revisions, saving time and disk space here's how to use it verify depth and restore full history when needed.
Goal Reduce network bandwidth and disk usage in CI pipelines by enabling shallow clones of external projects declared with FetchContent_Declare . The current default performs a full clone, which can be costly for large repositories. Unresolved Decision There is no documented option to set a default shallow clone depth for FetchContent . Developers must manua
Goal Determine how Tower Git handles Large File Storage (LFS) pointers after a shallow clone operation, and whether the tool should automatically update those pointers or rely on a manual fetch. Background Tower offers two documented shallow‑clone approaches: the Git command‑line flag --depth and the UI option “Shallow Clone.” In both cases, Tower retrieves