> ## Documentation Index
> Fetch the complete documentation index at: https://docs.parallelane.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Reset

> Moving the current branch back to a commit with soft, mixed, or hard mode

Right-click → **Reset {'{'}branch{'}'} to here…** to move the current branch back to that commit.
The default mode is **Mixed**.

| Mode      | Behavior                                         |
| --------- | ------------------------------------------------ |
| **Soft**  | Undoes the commit only, keeps changes staged     |
| **Mixed** | Undoes the commit, leaves changes unstaged       |
| **Hard**  | Discards the commit and all working tree changes |

<Frame>
  <img src="https://mintcdn.com/railgit/Youoqr4OEBTwrnAk/images/history-reset-dialog.png?fit=max&auto=format&n=Youoqr4OEBTwrnAk&q=85&s=ef52f32c00009ec47e1125aa78b10a1c" alt="The Reset dialog reading 'Reset main to fdab969.', with Hard selected among the Soft, Mixed, and Hard options under MODE, the line 'Discard commit and all working tree changes. Uncommitted changes will be lost.' below them, and the footer warning 'All working tree changes will be discarded' beside the Cancel button and a red Reset button" width="886" height="616" data-path="images/history-reset-dialog.png" />
</Frame>

<Warning>
  Choosing **Hard** adds a warning and turns the run button red.
  Uncommitted changes disappear, and this cannot be undone.
</Warning>
