FahamLah

Commands

git pack-refs

git pack-refs [--all]

Risk: Safe

What it does

Moves many small ref files into one file, .git/packed-refs.

When to use it

Rarely by hand: git gc does it for you.

Example

$ git pack-refs --all

Pack branches too, not only tags.