Posted By

gerhardsletten on 11/12/10


Tagged

svn git


Versions (?)

Fetch automatic commit messages


 / Published in: Bash
 

  1. For SVN:
  2. curl -s http://whatthecommit.com/ | grep "<p>" | sed 's/<p>//' | sed 's/^/"/' | sed 's/$/"/' | xargs svn commit -m
  3.  
  4. For GIT:
  5. curl -s http://whatthecommit.com/ | grep "<p>" | sed 's/<p>//' | sed 's/^/"/' | sed 's/$/"/' | xargs git commit -m

Report this snippet  

You need to login to post a comment.