How to Cancel Push in Sourcetree
Here’s how to do it:
- Go to the 'History' tab.
- Right-click the commit you want to go back to.
- Choose 'Reset current branch to this commit'.
- In the 'Reset to Commit' window, select a mode.
- Click 'OK' to confirm.
- Click 'Push'.
- Check 'Force Push' before pushing.
- Click 'Push', this effectively removes the pushed commits from the remote repo.
Similar Articles
No items found.
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it