From 80d2a7a9b7f3b9a7a6e2c28d775200556aaa8b39 Mon Sep 17 00:00:00 2001 From: Oliver Blanthorn Date: Thu, 2 Jan 2020 15:11:38 +0000 Subject: [PATCH] Let people know how to bypass precommit hook --- hooks/pre-commit | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hooks/pre-commit b/hooks/pre-commit index da437bd1..81d5021d 100755 --- a/hooks/pre-commit +++ b/hooks/pre-commit @@ -21,5 +21,7 @@ fi if [ -n "$uglyFiles" ]; then echo "Prettify your files first:" echo 'yarn run pretty' + echo '' + echo 'If you see this message repeatedly, skip the check with git commit -n' exit 1 fi