Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

There should also be a "keep all changes" instead of just "keep staged changes" when stashing.

lorinatzberger May 25, 2025

I don't typically stage my changes until right before a commit. When working on larger changes stages can act like a sort of checkpoint without polluting the commit history. I always check that box expecting nothing to change, then think it was a bug, reapply the just stashed changes and then later realise why the checkbox didn't do anything.

1 answer

0 votes
Jason U
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 7, 2025

Hi @lorinatzberger, 👋

Good observation — currently SourceTree only supports the “Keep staged changes” option when stashing.
There’s no built-in “Keep all changes” equivalent.

According to Atlassian’s documentation:
“Check ‘Keep staged changes’ if you want to keep the rest of the changes that are staged.”  SourceTree KB — Stash a file with SourceTree

This means only staged modifications are preserved — all unstaged changes are stashed away.

Also there is a ticket about your topic. It would be help I guess. SRCTREE-3448 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events