Additional reset shortcut
unlessgames opened this issue · 3 comments
unlessgames 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?
stefanhaller 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
.
mark2185 commented
If you really want it, it's better suited for the Custom Command feature.
unlessgames commented
Thanks @stefanhaller and @mark2185, both of those are great!