Module: Git::Commands::Maintenance Private

Defined in:
lib/git/commands/maintenance.rb,
lib/git/commands/maintenance/run.rb,
lib/git/commands/maintenance/stop.rb,
lib/git/commands/maintenance/start.rb,
lib/git/commands/maintenance/register.rb,
lib/git/commands/maintenance/unregister.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Implements git maintenance subcommands for repository optimization

Split into subclasses because each subcommand has a distinct purpose and option set:

  • Run — run one or more maintenance tasks
  • Start — initialize and start background maintenance
  • Stop — halt the background maintenance schedule
  • Register — add repository to maintenance config
  • Unregister — remove repository from maintenance config

All subcommands require Git 2.30.0 or later.

Defined Under Namespace

Classes: Register, Run, Start, Stop, Unregister