Skip to content

A little tool to create custom prefixes on every git commit you make!

License

Apache-2.0 and 2 other licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Unlicense
LICENSE-UNLICENSE
Notifications You must be signed in to change notification settings

acheronfail/gash

Repository files navigation

GASH: Git hASH

Installation

Precompiled binaries

See the releases page for pre-compiled binaries.

Via Cargo

cargo install gash

From Source (via Cargo)

git clone https://github.com/acheronfail/gash/
cd gash
cargo install --path .

Usage

First and foremost, please see the help text:

gash --help

You can either run it via the command line:

cd path/to/your/git/repository
gash [options...]

Or, install it automatically as a git hook:

echo '#!/bin/bash\ngash [options...]' > .git/hooks/post-commit
chmod +x .git/hooks/post-commit

Configuration

Most command line flags can be set in your git config, too (see gash --help for a comprehensive list). For example:

# Set the default prefix to "babe":
git config --global gash.default "babe"
# Use parallel mode by default:
git config --global gash.parallel "true"

# Now, this is equivalent to running: `gash --parallel "babe"`
gash

About

A little tool to create custom prefixes on every git commit you make!

Resources

License

Apache-2.0 and 2 other licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Unlicense
LICENSE-UNLICENSE

Stars

Watchers

Forks

Packages

No packages published

Languages