git-maintenance Command Examples

Run tasks to optimize Git repository data. More information: https://git-scm.com/docs/git-maintenance.

git maintenance register

git maintenance start

git maintenance stop

git maintenance unregister

git maintenance run --task={{commit-graph|gc|incremental-repack|loose-objects|pack-refs|prefetch}}