Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 461 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 461 Bytes

README

Here is a repo containing my preferred custom git-hooks. Starting off, this is just prepare-commit-msg.

Usage

Either cp the choosen hook into .git/hooks

or manage it with

pre-commit

in .pre-commit-config.yaml:

repos:
  - repo: local
    hooks:
      - id: prepare-commit-msg
        name: prepare-commit-msg
        entry: python3 scripts/prepare-commit-msg
        language: system
        stages: [prepare-commit-msg]