This Repository will help you set up githooks easily.
git clone https://github.com/shinYeongHyeon/githooks.git
cd githooks && sh init-git-hooks.sh
The git-hooks directory contains the contents to go into .git/hooks
, and if there are any changes, you must run git-hooks.sh
included in the project together.
# in your project directory
sh git-hooks.sh