Quick summary
A force push in Sourcetree overwrites the remote branch history with your local commits, making it essential when you need to rewrite history after a rebase or amend. This step-by-step demo shows exactly how to enable the Force Push option inside Sourcetree's Push dialog without using the command line.
Steps
- Open Sourcetree and navigate to your repository.
- Click the Push button in the top toolbar to open the push options.
- In the push dialog, select the branch you want to push to the remote.
- Check the box labeled Force Push at the bottom of the dialog.
- Click Push to confirm and complete the force push.
.gif)



