How to Delete a Commit in Bitbucket



Guide

  1. On SourceTree's main dashboard, find and select an old commit that goes before the specific commit you wish to delete.

  2. Right-click on the selected commit and choose 'Reset Current Branch to this Commit' from the list of options.

  3. After that, specify your preferred Mode and tap 'OK' to proceed.

  4. After completing these steps, the wrong commit will be deleted and discarded accordingly.

🚀

Create your first interactive demo in minutes

No credit card required • Start building today

Start free

    This website uses cookies to enhance the user experience.

    AcceptDecline