question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reset current branch to this commit in context menu

See original GitHub issue

I’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.

1 2 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
leotmcommented, Jan 16, 2021

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 👍

0reactions
tierninhocommented, Dec 12, 2019

@leotm

Let me know if I should create a separate issue titled Feature request: reset

That would be great. Thanks!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found