Tai Groot 9ad9412a8c refactor: dynamically load all [DEFAULT] section aliases
Removed hardcoded alias handling (unregister, git_gc) in favor of
dynamically loading all key-value pairs from the [DEFAULT] section
into the Aliases map. This allows mrconfig files to define custom
aliases without code changes.

- Simplified switch statement in LoadMRConfig
- Updated function documentation
- All tests passing
2026-02-12 13:33:30 +00:00
2023-03-09 16:50:18 -08:00
2026-01-18 02:29:26 -05:00
2026-01-18 02:29:26 -05:00
2026-01-18 02:29:26 -05:00
2026-01-18 02:30:38 -05:00
2026-01-18 02:30:38 -05:00
2023-05-27 21:09:48 -07:00

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

Passing the -jX argument will spin up X jobs simultaneously

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

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.

Description
No description provided
Readme 126 KiB
Languages
Go 100%