4 ms·
I'd like to commit a bugfix: git commit -m "$(curl -s programmerexcuses.com | sed -n '/<a.*>/{s/<[^>]*>//g;p}')"
by vardump 12y ago
I'd like to commit a bugfix:
git commit -m "$(curl -s programmerexcuses.com | sed -n '/<a.*>/{s/<[^>]*>//g;p}')"
- biscotti 12y agowww.whatthecommit.com alternative to this: git commit -m "$(curl -s http://whatthecommit.com | grep -o '<p>.*' | sed 's|<[^>]*>||g')"
- stevelaz 12y agoOr you can use it in your post-commit hook: https://gist.github.com/stevelaz/daecc32e0a8f2758b649 https://gist.github.com/stevelaz/daecc32e0a8f2758b649
- ShaneOG 12y agoAnd for any OS X user (* BSD based sed) curl -s programmerexcuses.com | sed -n -e '/<a.*>/{s/<[^>]*>//g;' -e 'p' -e '}' git commit -m "$(curl -s programmerexcuses.com | sed -n -e '/<a.*>/{s/<[^>]*>//g;' -e 'p' -e '}')"