Run repository maintenance
Run maintenance when repository operations or history browsing need attention. A slow ACD preview needs separate preview diagnostics.
- Wait for any Save, Sync, or other project operation to finish.
- Click Repository Settings in the left activity bar.
- Select Performance.
- Under Optimization Tasks, select the tasks to run.
- In Auto-optimize Repository, click Run Now.
- Wait for Optimization completed.
- Retry the operation that was slow.
The task choices are:
- Update commit graph updates Git’s index of commit relationships for history operations.
- Compress branch references packs Git references.
- Repack loose objects runs Git’s maintenance task for loose objects.
The schedule switch and interval marked Coming Soon cannot be changed in this view. The task choices save as you change them.
If maintenance fails, use Repository health checks to inspect the reported problem before you run a repair.