Reset Branch to a Commit

Still need help?

The Atlassian Community is here for you.

Ask the community


This article should help users to reset a branch to a specific commit.


Reset a branch to a specific commit


1. First, checkout to a specific branch.

2. Then, right click on a specific commit, and select "Reset current branch to this commit". Similar to below:


3. Choose from the following options:



To understand further on the different types of reset (soft, mixed, hard), view this page:

4. Click OK. All the commit that are made after this specific commit that was reset to are now gone:



Last modified on Nov 2, 2018

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.