Skip to content

Instantly share code, notes, and snippets.

@espy
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save espy/49cdcec3382e025c6a85 to your computer and use it in GitHub Desktop.
Save espy/49cdcec3382e025c6a85 to your computer and use it in GitHub Desktop.
Place in .git/hooks if you keep forgetting to update the CHANGELOG
#!/bin/sh
#
# A super-simple hook that nags you about the CHANGELOG after every commit
echo "" >&2
echo "\\033[93m---------------------------------------------------\\033[0;39m" >&2
echo "\\033[93mDon't forget to update the CHANGELOG if neccessary!\\033[0;39m" >&2
echo "\\033[93m---------------------------------------------------\\033[0;39m" >&2
echo "" >&2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment