How to Stash in Sourcetree
- George Apostolov
How to Stash in Sourcetree: step-by-step guide
In the top toolbar, click the 'Stash' icon.
Enter a stash message.
Choose whether to include untracked files and check the boxes if needed.
Click 'OK' and Sourcetree saves your changes and clears your working directory.
Quick answer: To save your changes and clear your working directory in Sourcetree, click the Stash icon in the top toolbar, enter a message, choose whether to include untracked files by checking the boxes if needed, and click OK.
About this Sourcetree tutorial
Save changes and clear your working directory in Sourcetree by entering a stash message, selecting options, and confirming. This guide shows how to stash in Sourcetree in 4 steps, starting with "In the top toolbar, click the 'Stash' icon" and finishing with "Click 'OK' and Sourcetree saves your changes and clears your working directory". The interactive demo above is a click-through copy of the real Sourcetree interface, so you can rehearse each step before doing it in your own account.
Frequently asked questions
How many steps does it take to stash in Sourcetree?
4 steps. Each one is listed in order above, and the demo highlights exactly where to click.
Can I try it without changing my own account?
Yes. Clicking through the demo doesn't touch your Sourcetree data or settings. Once you know the flow, repeat it in your own workspace.
This tutorial is filed under Sourcetree. Related guides: How to Revert Commit in GIT Sourcetree, How to Squash Commits Sourcetree and How to Sync Sourcetree with Visual Studio Code. Last reviewed 05 Oct 2026.
Create your first interactive demo in minutes
No credit card required • Start building today





