fork-dev/TrackerWin

[Feature request] Add ability to do git reset HEAD~1 via UI

Closed this issue · 4 comments

There should be a way to do git reset HEAD~1 via the UI.

This would be handy for example in the not-so-uncommon situation where you accidentally commit to wrong branch - and notice it just after pressing commit (but before pushing). Now you have to open console and do git reset from there (after googling for the command again =). Yes, its a small task in the console, but isn't the whole idea of a Git UI to not to have to use the console and memorize the commands..

Maybe it would make sense to to optionally add the --soft or --hard params to reset command as well.

There should be a way to do git reset HEAD~1 via the UI.

Right click on a commit -> Reset.

Maybe it would make sense to to optionally add the --soft or --hard params to reset command as well.

Yes!

@DanPristupov did you mean that there already is the ability to reset in Fork? Because I do not see one. Or were you just visioning how to implement it? =) If the latter, I agree and was thinking the same!

Because I do not see one.

Right click on a commit -> Reset.

Screenshot 2024-10-31 at 10 25 48

Ah, so I need to right click on the target commit that I want to reset to, not on the commit I want to cancel.

Ok, so this is not relevant issue then, thanks.