git-global

Crates.io Crates.io

Use git-global to keep track of all the git repositories on your machine.

This is a Rust program that you can install with cargo install git-global. (To obtain cargo and Rust, see https://rustup.rs.) Once installed, you gain an extra git subcommand that you can run from anywhere to check up on all your git repos: git global.

Use git global <subcommand> to:

Command-line flags

In addition to config-file-based options, there are a set of global command-line flags that take precedence:

Configuration

To change the default behavior of git-global, you can do so with --- wait for it --- git's global configuration!

To set the root directory for repo discovery to something other than your home directory: git config --global global.basedir /some/path

To add patterns to exclude while walking directories: git config --global global.ignore .cargo,.vim,Library

The full list of configuration options supported in the global section of .gitconfig is:

Ideas

The following are some ideas I've had about future subcommands and features:

Release Notes