Skip to content

Instantly share code, notes, and snippets.

@mathie
Created July 2, 2010 11:18

Revisions

  1. mathie revised this gist Jul 2, 2010. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions .bashrc
    Original file line number Diff line number Diff line change
    @@ -1 +1,2 @@
    # My new git commit shortcut, thanks to http://whatthecommit.com/ :-)
    alias commit='git commit -m "$(curl -s http://whatthecommit.com/ |grep '<p>' |cut -c 4-)"'
  2. mathie created this gist Jul 2, 2010.
    1 change: 1 addition & 0 deletions .bashrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    alias commit='git commit -m "$(curl -s http://whatthecommit.com/ |grep '<p>' |cut -c 4-)"'