Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 536 Bytes

index.md

File metadata and controls

28 lines (17 loc) · 536 Bytes

git optimizer

Optimize a repo our preferred way i.e. by pruning and repacking

Git alias:

optimizer = !git pruner; git repacker; git prune-packed

Example:

git optimizer

The purpose of this command is to do everything possible to optimize the repository.

This command takes a long time to run, perhaps even overnight.

This command calls our other aliases:

This command also calls git prune-packed. This step may be unnecessary.