3 ms·
I'm requesting the exact syntax I just wrote. EDIT: the replies to this don't get how feature requests work. yes, I could write this basic feature myself. tha
by logicallee 9y ago
I'm requesting the exact syntax I just wrote.
EDIT: the replies to this don't get how feature requests work. yes, I could write this basic feature myself. thanks.
- emodendroket 9y agoSo write a script and assign an alias.
- oblio 9y agoYou're missing his point. Defaults matter. A huge majority of users (80%?) never change the defaults, often for good reasons. A minor usability investment on the part of 1-2 git developers would prevent thousands of hours wasted by newbies and perpetual intermediates (https://blog.codinghorror.com/defending-perpetual-intermediacy/ https://blog.codinghorror.com/defending-perpetual-intermedia...).
- emodendroket 9y agoA feature like undo is never going to be implemented as a core thing because there are too many instances where it's not clear what it should do.
- deleted 9y ago[deleted]
- gknoy 9y agoYou can make a bash script named `git-undo` , put it in your path (I use ~/bin): #! /bin/bash git reset HEAD~1 && git checkout .
- emodendroket 9y agoYou can assign git aliases that execute shell commands by prefixing with an exclamation mark.