class Git::Commands::Maintenance::Run

Run one or more maintenance tasks

@example Run all enabled maintenance tasks

Git::Commands::Maintenance::Run.new(execution_context).call

@example Run specific tasks in order

Git::Commands::Maintenance::Run.new(execution_context).call(task: ['gc', 'commit-graph'])

@example Run tasks only if thresholds are met

Git::Commands::Maintenance::Run.new(execution_context).call(auto: true)

@example Run scheduled tasks at a specific frequency

Git::Commands::Maintenance::Run.new(execution_context).call(schedule: 'hourly')

@note โ€˜arguments` block audited against git-scm.com/docs/git-maintenance/2.54.0

@see Git::Commands::Maintenance Git::Commands::Maintenance for the full sub-command list

@see git-scm.com/docs/git-maintenance git-maintenance documentation

@api private