git-tidy
git-tidy copied to clipboard
Tidy git commit messages, linting, and logging
git-tidy
git-tidy is a set of git extensions for:
- Keeping your git logs tidy with ease.
git tidy-commitguides users through a structured commit with a configurable schema.git tidy-squashsquashes messy commits into one tidy commit. - Linting a commit log.
git tidy-lintverifies that commits match the schema. If a user usesgit tidy-commit, commits will always validate. - Rendering a commit log.
git tidy-logcan render commits from any range and can render structured commits from a configurable Jinja template. Want to automatically generate release notes?git tidy-logcan be configured to group and render commits based on the schema.

Documentation
View the git-tidy docs here for a complete tutorial on using git-tidy.
Installation
One can install git-tidy system-wide with pipx:
pipx install git-tidy
or pip:
pip3 install git-tidy
Note git-tidy depends on git at a version of 2.22 or higher. OSX users can upgrade to the latest git version with homebrew using brew install git.
Compatibility
git-tidy is compatible with Python 3.8 - 3.12.
Contributing Guide
For information on setting up git-tidy for development and contributing changes, view CONTRIBUTING.rst <CONTRIBUTING.rst>_.
Creators
- @wesleykendall (Wes Kendall)
- @tomage (Tómas Árni Jónasson)