How does reset work #3991
Replies: 4 comments 3 replies
-
That depends which commit did you select, but it works the same as Could you please give some steps to reproduce what you're experiencing? Or a recording? |
Beta Was this translation helpful? Give feedback.
-
Yes this doesn't work for me either. Let's say I accidentally commit to local master. I navigate to the commits pane, highlight the commit in question, press g and I get a window asking me if I want a mixed, soft, or hard reset. With the indicated kesy of m, s, or h. None of these keys does anything nor does highlighting one of them and pressing enter. |
Beta Was this translation helpful? Give feedback.
-
Same here. Neither of the resets are working via Lazy GUI. Nothing happens when choosing r + any of the options. |
Beta Was this translation helpful? Give feedback.
-
You need to select a commit from the commits menu before pressing Of course, as with all git operations, be mindful of what it is doing, and be sure to stash your changes if you're going to do a hard reset. EDIT: Resetting from the Files menu will attempt to reset your tree to the state of the upstream. Resetting from the Branches menu will attempt to reset your tree to the state of the selected branch. Resetting from the Commits menu will attempt to reset your tree to the state of the selected commit. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I select a commit, press 'g', popup showed asking if I want soft, hard or mixed reset. I pressed 's' to choose soft reset. Nothing happened.
I tried again by moving cursor to select soft commit then Enter, nothing happen as well. What did I do wrong? Thank you
Beta Was this translation helpful? Give feedback.
All reactions