Skip to content

Masabi/shortcut-commit-msg-hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shortcut-commit-msg-hook

A prepare-commit-msg hook for pre-commit.

If present in the branch name, this hook prepends the Shortcut Story ID to the commit message.

Using with pre-commit

Add this to your .pre-commit-config.yaml

-   repo: https://github.com/Masabi/shortcut-commit-msg-hook
    rev: v0.2
    hooks:
    -   id: shortcut-commit-msg-hook

and install prepare-commit-msg hooks using

pre-commit install --hook-type prepare-commit-msg

About

Pre-commit hook that prefixes the Clubhouse story ID to the commit message.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages