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 Resolve Conflict in Sourcetree

Updated on:
June 5, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to temporarily save uncommitted changes in Sourcetree.

Quick summary

Stashing in Sourcetree lets you save uncommitted changes to a temporary shelf so you can switch tasks without losing your work. This guide walks through the exact steps to create a stash, add a message, and clear your working directory in Sourcetree.


Steps

  1. In the top toolbar, click the Stash icon to open the stash dialog.
  2. Enter a descriptive stash message to identify the saved changes later.
  3. Choose whether to include untracked files and check the relevant boxes if needed.
  4. Click OK to confirm — Sourcetree saves your changes and clears your working directory.

📌 Why this matters

Stashing in Sourcetree is a critical Git workflow feature that lets developers temporarily shelve uncommitted changes without creating a commit, making it easy to switch branches or pull updates without losing work in progress. By providing a visual, point-and-click interface for Git stash, Sourcetree removes the need to remember command-line syntax, reducing friction for developers of all skill levels. This capability helps teams maintain a clean working directory, avoid merge conflicts, and context-switch between tasks more efficiently. For anyone managing multiple feature branches or hotfixes simultaneously, mastering the Sourcetree stash feature is essential to a smooth, uninterrupted development workflow.
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