Skip to content

Instantly share code, notes, and snippets.

@timnovinger
Created October 6, 2010 20:59
Show Gist options
  • Save timnovinger/614074 to your computer and use it in GitHub Desktop.
Save timnovinger/614074 to your computer and use it in GitHub Desktop.
My personal post-commit Git hook
#!/bin/sh
#
# An example hook script that is called after a successful
# commit is made.
#
# To enable this hook, rename this file to "post-commit".
: Nothing
afplay ~/.git/happykids.wav > /dev/null 2>&1 &
wait
echo "Check Hudson before pushing...and don't push after 1600 hours..."
say "Check Hudson before pushing...and don't push after 1600 hours" -v Trinoids
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment