Tai Groot 18cb0e8f65 feat(cmd): implement push, diff, and commit commands
Implement three previously-stubbed commands following the existing
parallel execution pattern used by clone/pull/fetch:

- push: pushes all refs to origin for all configured repos
- diff: shows file-level uncommitted changes across all repos
- commit: commits staged changes across all repos with a shared message (-m)

All commands support parallel execution via -j flag.
Update AGENTS.md to reflect current implementation status.
2026-04-07 08:36:16 +00:00
2023-03-09 16:50:18 -08:00
2026-01-18 02:29:26 -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 141 KiB
Languages
Go 100%