Skip to content

Instantly share code, notes, and snippets.

@bonkydog
Created November 3, 2013 21:38
Show Gist options
  • Select an option

  • Save bonkydog/7295143 to your computer and use it in GitHub Desktop.

Select an option

Save bonkydog/7295143 to your computer and use it in GitHub Desktop.
Remove Before Flight git pre-commit hook script. Install as .git/hooks/pre-commit
#!/bin/sh
PAGER=''
cd $GIT_DIR/..
if git grep --cached --quiet RBF;
then
echo '\naborting commit due to RBF tag:\n'
git grep --cached RBF
echo
exit 1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment