multigit documentation

multigit script and module.

multigit script is a Python implementation of simplest-git-subrepos.

package:

multigit 0.11.8

author:

Jesús M. Navarro

license:

GNU General Public License v3.0

source:

https://github.com/jmnavarrol/python-multigit

multigit.__main__.SUBREPOS_FILE = 'subrepos'

The “fixed” name of the YAML file with subrepo definitions.

multigit.__main__.main()[source]

Processes command line parameters

$ multigit --help
multigit (0.11.8)

usage: multigit [-h | -V | -r | -s]

Manages git repos within git repos.

options:
  -h, --help     Shows this help.
  -V, --version  Shows multigit version and quits.
  -r, --run      Recursively processes 'subrepos' files found.
  -s, --status   Shows repositories' current status.

multigit can also be used as an imported module.

Classes:
  • Subrepofile: loads configuration from a subrepofile.

  • Subrepos: processes a full subrepos’ configuration.

  • Gitrepo: manages a single git repository as per the requested configuration.