News for hackers. Stuff that matters.
Re:Helping a Million Developers Exit Vim by gknoy on Tuesday May 23, 2017 @02:55PM (#14404092)
You can make a bash script named `git-undo` , put it in your path (I use ~/bin):

    #! /bin/bash
    git reset HEAD~1 && git checkout .
Re:Helping a Million Developers Exit Vim by emodendroket on Tuesday May 23, 2017 @03:01PM (#14404158)
You can assign git aliases that execute shell commands by prefixing with an exclamation mark.