Git hook with Gitmoji
copy this repo ./git_hooks/*
(or choose u need) to you repo folder .git/hooks/
and make it executable.
install by pre-commit
-
make sure you have pre-commit installed
pip install pre-commit
-
add or update you
.pre-commit-config.yaml
to you repo root folderrepos: - repo: https://github.com/we684123/gitmoji_hook rev: v0.1.0 hooks: - id: gitmoji-merge-commit-msg
-
install gitmoji_hook
pre-commit install --hook-type prepare-commit-msg