Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

60 Commits

Repository files navigation

mg

Golang replacement for myrepos which only supports git repos.

This app will support the following subcommands:

  • mg commit
  • mg push
  • mg status
  • mg diff
  • mg pull
  • mg fetch
  • mg register
  • mg unregister
  • mg config

Passing the -jX argument will spin up X jobs simultaneously

mg stores configuration in ~/.config/mgconfig by default. Set MGCONFIG to use a custom path, or XDG_CONFIG_HOME to use a custom config directory.

mg supports loading an existing ~/.mrconfig and migrating it to ~/.config/mgconfig, provided no mgconfig file exists.

Configuration

Print the active config path:

mg config

Print the active config as JSON:

mg config show

Improvements over mr:

  1. No external dependencies (even git!*)
  2. More output options (summary of failures)
  3. More deterministic behavior (global vs local run, register from git project subdir)
  4. Exports public functions and can be embedded into other Go programs idiomatically

Why to stick with mr:

  1. If you need support for non-git VCS tooling
  2. If you want to use the mr plugin ecosystem

*: custom-registered commands may rely on external applications.

About

A tool for managing batches of git repositories

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages