Maintenance Commands
Repository maintenance and health check commands.
Commands
- gc - Garbage collection and optimization
- fsck - File system consistency check
- verify - Verify object integrity
- stats - Repository statistics
- reflog - History of HEAD and branch movements
Recommended Schedule
# Weekly: Garbage collection
mediagit gc
# Monthly: Full verification
mediagit verify
# As needed: Check stats
mediagit stats