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