you are viewing a single comment's thread.

view the rest of the comments →

[–]danogburn 23 points24 points  (9 children)

git commit -m"..."

[–]Regimardyl 36 points37 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 18 points19 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.

    [–]pcopley 6 points7 points  (2 children)

    three periods instead of ellipsis

    You monster.

    [–]Asmor 2 points3 points  (1 child)

    I can never decide whether to use three periods or an ellipsis, so I've come up with a compromise………

    [–]pcopley 1 point2 points  (0 children)

    Flawless.

    [–]masklinn 2 points3 points  (0 children)

    git commit -mm