git-std 0.2.0

Standard git workflow — commits, versioning, hooks
git-std-0.2.0 is not a library.

git-std

From commit to release. One tool for conventional commits, versioning, changelog, and git hooks management.

Replaces commitizen, commitlint, standard-version, husky, and lefthook with a single binary. Fast, zero runtime dependencies. Works out of the box with sensible defaults.

Invoked as git std via git's subcommand discovery.

Install

cargo install git-std

Or via install script:

curl -fsSL https://raw.githubusercontent.com/driftsys/git-std/main/install.sh | bash

Quick start

git add .
git std commit                       # interactive commit
git std check --range main..HEAD     # validate commits
git std changelog --stdout           # preview changelog
git std bump                         # bump + changelog + tag
git push --follow-tags

Subcommands

Command Purpose
git std commit Interactive conventional commit
git std check Commit message validation
git std bump Version bump + changelog + tag
git std changelog Generate or update the changelog
git std hooks Git hooks management

Configuration

Optional .git-std.toml in the project root:

types = ["feat", "fix", "docs", "chore"]
scopes = ["auth", "api"]

[versioning]
tag_prefix = "v"

[changelog]
hidden = ["chore", "ci"]

All fields are optional — sensible defaults apply when the file is absent.

See the full documentation for details.

License

MIT