The project you'll check out as you learn to develop modern websites in Learn JS The Hard Way.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

9 lines
242 B

#!/bin/sh
CANARY=$(git diff --cached | grep -w "bc38cc69-1f88-4c1e-b262-ab1b6621fc82")
if [ ! -z "$CANARY" ]; then
echo "You're checking in a secret file with canary bc38cc69-1f88-4c1e-b262-ab1b6621fc82 in it:"
echo $CANARY
exit 1
fi