A little tool so I don't forget to commit and push or pull changes when switching computers.
Rust
68
47 commits
updated Mar 14, 2025
A simple command-line tool to keep multiple git repositories in sync across different computers.
cargo install --path .
# Pull the latest changes from all repositories
grit pull
# Push local changes to all repositories
grit push
Create 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
~/configs
This project is licensed under either of
at your option.
47 commits
Rust
99.9%
A little tool so I don't forget to commit and push or pull changes when switching computers.
Rust
68
47 commits
updated Mar 14, 2025
A simple command-line tool to keep multiple git repositories in sync across different computers.
cargo install --path .
# Pull the latest changes from all repositories
grit pull
# Push local changes to all repositories
grit push
Create 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
~/configs
This project is licensed under either of
at your option.
47 commits
Rust
99.9%