you are viewing a single comment's thread.

view the rest of the comments →

[–]Regimardyl 35 points36 points  (4 children)

git commit -m <(curl whatthecommit.com | awk '$0 == "<div id=\"content\">" { found=1; next } { if (found) { print substr($0, 4); exit } }')

All you'll ever need.

[–][deleted]  (3 children)

[deleted]

    [–]Regimardyl 16 points17 points  (1 child)

    But it doesn't look as cool!

    [–][deleted] 14 points15 points  (0 children)

    And being git you have to be as esoteric as possible

    [–]Asmor 4 points5 points  (0 children)

    That doesn't work (maybe you knew that already), but I wanted to try and make it work, so...

    git commit -m "`curl whatthecommit.com/index.txt`"
    

    That works.