Sodamhan.com

TL;DR

git repack

Pack unpacked objects in a Git repository. More information: https://git-scm.com/docs/git-repack.

  • Pack unpacked objects in the current directory:

git repack

  • Also remove redundant objects after packing:

git repack -d

This document was created using the contents of the tldr project.