Tencent Cloud Developer
Tencent Cloud Developer
Jul 26, 2023 · Operations

How We Shrunk a 9 GB Git Repository to 350 MB: A Complete Step‑by‑Step Guide

When Tencent Meeting’s user base exploded to 300 million, its Git repository ballooned to over 17 GB, crippling clone speed, so the team devised a comprehensive slimming process that removed old history, migrated large files to LFS, created a new repo, handled special branches, adapted platform settings, and verified the result, ultimately reducing the repo size from 9 GB to 350 MB.

GitRepository Slimmingdevops
0 likes · 23 min read
How We Shrunk a 9 GB Git Repository to 350 MB: A Complete Step‑by‑Step Guide