git maintenance run --auto

Category: Git - Core

git maintenance run --auto

Run scheduled repository maintenance

Executes the maintenance tasks Git considers due, which on modern Git replaces most manual gc invocations. The --auto form is what Git triggers after fetch and commit operations. Configure recurring runs with git maintenance start.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.