/ Published in: Bash

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
For SVN: curl -s http://whatthecommit.com/ | grep "<p>" | sed 's/<p>//' | sed 's/^/"/' | sed 's/$/"/' | xargs svn commit -m For GIT: curl -s http://whatthecommit.com/ | grep "<p>" | sed 's/<p>//' | sed 's/^/"/' | sed 's/$/"/' | xargs git commit -m
Comments
