Skip to content

Latest commit

 

History

History
32 lines (29 loc) · 1.25 KB

File metadata and controls

32 lines (29 loc) · 1.25 KB

release License

Automatically ruins git commit messages with whatthecommit API. My final contribution to the team.

Installation

As a pre-commit hook

Add this to your .pre-commit-config.yaml to kill professional commit messages forever:

default_install_hook_types: [pre-commit, prepare-commit-msg]

repos:
  - repo: https://github.com/RektPunk/whattheprecommit
    rev: v0.0.4
    hooks:
      - id: whattheprecommit

Globally as a CLI

To ruin your commit messages globally:

cargo install --git https://github.com/RektPunk/whattheprecommit

Just type wtc instead of git commit -m "...". It's like Russian Roulette for your Git history.