Skip to main content

Tidy git commit messages, linting, and logging

Project description

git-tidy

git-tidy is a set of git extensions for:

  1. Keeping your git logs tidy with ease. git tidy-commit guides users through a structured commit with a configurable schema. git tidy-squash squashes messy commits into one tidy commit.
  2. Linting a commit log. git tidy-lint verifies that commits match the schema. If a user uses git tidy-commit, commits will always validate.
  3. Rendering a commit log. git tidy-log can render commits from any range and can render structured commits from a configurable Jinja template. Want to automatically generate release notes? git tidy-log can be configured to group and render commits based on the schema.

Example

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.9 - 3.13.

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git_tidy-1.3.0.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

git_tidy-1.3.0-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file git_tidy-1.3.0.tar.gz.

File metadata

  • Download URL: git_tidy-1.3.0.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/5.15.0-1057-aws

File hashes

Hashes for git_tidy-1.3.0.tar.gz
Algorithm Hash digest
SHA256 789fe2ce8e0e6a650c19362d8eab910cc5053de633b415e7b4f349fe0aff0ee4
MD5 865ae06214c02ac4943b673ad17be631
BLAKE2b-256 65f018c94b6074211debd678197e7f07e1f70212c89ca1ef27314bce53e6bb30

See more details on using hashes here.

File details

Details for the file git_tidy-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: git_tidy-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/5.15.0-1057-aws

File hashes

Hashes for git_tidy-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0669fa36efd40566e6b297dfb228b101cf280e496e9eaee3062b966274b295c1
MD5 5657c86c2edf5d4df579374c9db5a4bf
BLAKE2b-256 405a78490a7dc408ded3c873195f0aaa444c7d5663b7dab3d0203368b1f2ef85

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page