Additional reset shortcut
unlessgames opened this issue · comments
unless games commented
Maybe I'm missing something but wouldn't it be handy to add an option for the Reset menu that would call
git reset --soft HEAD~1
to undo the last unpushed commit?
Stefan Haller commented
I don't see how this makes sense. The Reset menu is context-dependent, it works on the commit you have selected in the Commits view. It doesn't make sense to add a command there that disregards the selection.
To do what you want, select the second commit and type g s
.
Luka Markušić commented
If you really want it, it's better suited for the Custom Command feature.
unless games commented
Thanks @stefanhaller and @mark2185, both of those are great!