Skip to content

Instantly share code, notes, and snippets.

@yelirekim
Created July 6, 2010 23:20
Show Gist options
  • Save yelirekim/466077 to your computer and use it in GitHub Desktop.
Save yelirekim/466077 to your computer and use it in GitHub Desktop.
#!/bin/bash
function commit_message{
curl --silent http://whatthecommit.com | sed -n '/<p>/,/<\/p>/p' | sed -e '1s/.*<p>//' -e '$s/<\/p>.*//' | sed '/^$/d'
}
# svn commit -m `commit_message`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment