Sascha Corti's Digital Garden

Home

❯

coding

❯

Git

❯

Git: Compress Repository

Git: Compress Repository

Apr 25, 20251 min read

  • Coding
  • Learning
  • Git
  • GitHub

source: https://blog.tinned-software.net/recompress-git-repository/

Git Compress Repository

To compress a git repo on your local drive, run the following command:

git gc --aggressive --prune=now

Graph View

Backlinks

  • Git

Created with Quartz v4.5.1 © 2025

  • GitHub
  • Discord Community