Created
August 1, 2010 11:19
-
-
Save sragu/503243 to your computer and use it in GitHub Desktop.
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
##Srinivasan Raguraman | |
##Shell script to extract current message from whatthecommit.com | |
#Add the below snippet to you .profile/.bashrc | |
whatthecommit(){ | |
curl -s http://whatthecommit.com/ | tr -s '\n' ' ' \ | |
| grep -so 'p>\(.*\)</p' | sed -n 's/..\(.*\)..../\1/p'; | |
} | |
#Sample Usage: | |
# git commit -m"Jira #404 - `whatthecommit`" | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://whatthecommit.com/index.txt
do you know this?