A simple command-line tool to keep multiple git repositories in sync across different computers.
- Pull the latest changes from all your repositories with one command
- Push local changes to multiple repositories
- Interactive workflow for staging, committing, and pushing changes
- Color-coded output for better readability
cargo install --path .# Pull the latest changes from all repositories
grit pull
# Push local changes to all repositories
grit pushCreate a configuration file at ~/.config/grit.conf with your repositories:
You can use hash (#) as comment lines in the configuration file, just like in Bash. Here's a sample configuration:
# Personal projects
~/projects/main-project
~/projects/utils
# Work-related
~/work/client-project
~/work/internal-tools
# Documentation and notes
~/documents/notes
~/configsThis project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.