# How to Stash in Sourcetree

> 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.

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

## Steps

1. In the top toolbar, click the 'Stash' icon.
2. Enter a stash message.
3. Choose whether to include untracked files and check the boxes if needed.
4. Click 'OK' and Sourcetree saves your changes and clears your working directory.
