See the [releases] page for pre-compiled binaries.
bash
cargo install gash
bash
git clone https://github.com/acheronfail/gash/
cd gash
cargo install --path .
First and foremost, please see the help text:
bash
gash --help
You can either run it via the command line:
bash
cd path/to/your/git/repository
gash [options...]
Or, install it automatically as a git hook:
bash
echo '#!/bin/bash\ngash [options...]' > .git/hooks/post-commit
chmod +x .git/hooks/post-commit
Most command line flags can be set in your git config, too (see gash --help
for a comprehensive list).
For example:
```bash
git config --global gash.default "babe"
git config --global gash.parallel "true"
gash --parallel "babe"
gash ```