Fetch automatic commit messages


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.