# How to Cancel Push in Sourcetree

> To cancel push in Sourcetree, go to the History tab, right-click the target commit, and choose Reset current branch to this commit. Select a mode in the Reset to Commit window, click OK, click Push, check Force Push, and click Push again to remove pushed commits from the remote repository.

Canonical: https://livedemo.ai/tutorials/how-to-cancel-push-in-sourcetree/
Apps: Sourcetree
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a307ad673bd5aa8e632fa/preview?step=1

## Steps

1. Go to the 'History' tab.
2. Right-click the commit you want to go back to.
3. Choose 'Reset current branch to this commit'.
4. In the 'Reset to Commit' window, select a mode.
5. Click 'OK' to confirm.
6. Click 'Push'.
7. Check 'Force Push' before pushing.
8. Click 'Push', this effectively removes the pushed commits from the remote repo.
