Created
July 3, 2014 15:24
-
-
Save stevelaz/daecc32e0a8f2758b649 to your computer and use it in GitHub Desktop.
git post-commit hook with programmerexcuses.com output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "You just commited the following:" | |
git log -1 HEAD | |
echo "----------------------------------------------" | |
echo "" | |
curl -s programmerexcuses.com | sed -n '/<a.*>/{s/<[^>]*>//g;p}' | |
echo "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment