mrh-0.4.0 is not a library.
Visit the last successful build:
mrh-0.13.2
mrh - multiple git repo helper
This tool crawls current and children directories for git repos, and checks if there are:
- untracked files
- uncommitted changes
- unpushed commits
- unpulled commits
- added files (git index)
- deleted files
- renamed files
- untagged HEAD (via an optional flag)
Show all repos:
$ mrh
foo (untracked files, uncommitted changes, unpushed commits)
bar
baz (untracked files)
qux
Only show those repos that are pending action:
$ mrh --pending
foo (untracked files, uncommitted changes, unpushed commits)
baz (untracked files)
Ignore untracked files in results:
$ mrh --pending --ignore-untracked
foo (uncommitted changes, unpushed commits)
Include repos whose HEAD commits are not tagged:
$ mrh --pending --ignore-untracked --untagged-head
foo (uncommitted changes, unpushed commits, untagged HEAD)
bar (untagged HEAD)
notes
- Ignores unreadable files/directories without warning
- Ignores bare git repositories
installation
Following is the most easy way to install the tool (assuming you have the Rust toolchain installed):
cargo install mrh