-
-
Notifications
You must be signed in to change notification settings - Fork 568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow reset to branch in branches view #2170
Labels
Milestone
Comments
this is fairly easy to integrate |
looks like this in #2171: |
extrawurst
added a commit
that referenced
this issue
Apr 7, 2024
allow triggering branch reset from branch popup. closes #2170
Excellent, thank you! |
IndianBoy42
pushed a commit
to IndianBoy42/gitui
that referenced
this issue
Jun 4, 2024
allow triggering branch reset from branch popup. closes extrawurst#2170
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
As part of my workflow (squashing commits locally before merging), I need to leave gitui to run a command like
git reset --soft master
. While possible to do in the commits/log view, it is not always easy to find the desired branch as the target for resetting.Describe the solution you'd like
I would suggest that it be possible to reset directly from the branches view. Not sure what hotkey is best since
Shift+R
is already taken in that view (and so is 'r'), but that would make it consistent with the log view. Hitting the hotkey to reset should bring up the same menu as was added for #1500 and function the same way, just targeting the select branch instead of a specific commit.Describe alternatives you've considered
Maybe this could be mitigated by making it easier to find branches in the log view (I couldn't find a way to in the
find
dialogue). But that seems less direct than adding a way in the branch view itself.Additional context
Thanks for the awesome tool!
The text was updated successfully, but these errors were encountered: