diff --git a/scripts/git_pre_commit_hook.sh b/scripts/git_pre_commit_hook.sh new file mode 100644 index 0000000..45ac2e2 --- /dev/null +++ b/scripts/git_pre_commit_hook.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +CHANGE_DIR="./ino/contact_printer" +if git diff --cached --name-only | grep --quiet "${CHANGE_DIR}" +then + echo "none" + exit 0 +fi \ No newline at end of file