pre-commit 186 B

123456789
  1. #!/usr/bin/env bash
  2. ### run this command to set .githooks directory
  3. # git config --local core.hooksPath .githooks/
  4. for script in .githooks/git-hook-*.sh; do
  5. bash -x "$script"
  6. done