This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /Sourcetree

How to Force Push in Sourcetree

Updated on:
June 5, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to force push a branch directly in Sourcetree.

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

  1. Open Sourcetree and navigate to your repository.
  2. Click the Push button in the top toolbar to open the push options.
  3. In the push dialog, select the branch you want to push to the remote.
  4. Check the box labeled Force Push at the bottom of the dialog.
  5. Click Push to confirm and complete the force push.

📌 Why this matters

Force pushing in Sourcetree lets developers overwrite remote branch history after a rebase or commit amend — directly from a visual Git client, with no terminal required. This is critical when working on feature branches where a clean, linear commit history is required before merging. Sourcetree's Force Push option makes an advanced Git operation accessible to developers of all experience levels, reducing errors that come from manual command-line flag usage. Understanding how to force push safely helps teams maintain repository integrity while moving fast.
Your product deserves an interactive demo
Start free
Similar Articles
Sourcetree

How to Update Sourcetree Mercurial

Madhav Bhandari
Director of Marketing @ Storylane
Sourcetree

How to Add SSH Key in Sourcetree

Madhav Bhandari
Director of Marketing @ Storylane
Sourcetree

How to Change User in Sourcetree

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Hubs
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it