Reset current branch to this commit in context menu
See original GitHub issueI’m going to avoid using the template as this is more of feature request than a bug report, also my apologies if this is a duplicate, I couldn’t find anything after searching a few keywords.
Currently I constantly find myself opening Git Bash to run git reset
as I can’t do it through the UI, I think this feature is pretty useful for inexperienced people such as myself who constantly commit mistakes and don’t want to ruin their repo’s commit history by reverting the commit itself.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (7 by maintainers)
Top Results From Across the Web
TortoiseGit - where is the reset option for a branch?
Go to the log dialog, right click on the commit you want to revert to and there should be a 'reset "current branch"...
Read more >Reset Branch to a Commit | Sourcetree
First, checkout to a specific branch. 2. Then, right click on a specific commit, and select "Reset current branch to this commit".
Read more >Undo changes in your Git repo - Azure - Microsoft Learn
In the History tab for the current branch, right-click the commit you want to reset, and then choose Reset > Delete Changes (--hard)...
Read more >Undo changes - Help | RubyMine - JetBrains
Select the commit that you want to move HEAD onto and select Reset Current Branch to Here from the context menu. In the...
Read more >Undoing Commits | Tower Help
Make sure your current HEAD branch is selected in the sidebar · Right-click the commit you want to return to in the list...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was going to raise this but fortunately just found this. I’d like to echo @strafe and would definitely love this feature.
Why? I’m reviewing a colleague’s PR and spotted a regression introduced in this PR branch. I’d like to identify which commit caused this to yield a clue, as opposed to simply fixing the regression blind to which commit introduced it. I’m tackling this by
git reset
’ing (bisect’ing) in a binary search manner.I don’t think it would be too hard to enable a context menu option in the setting to
Reset this Commit
.Let me know if I should create a separate issue titled
Feature request: reset
👍@leotm
That would be great. Thanks!