Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Stash auto on branch change


When switching to another branch, and having some staged / unstaged files, Sourcetree will prompt:
— Discard local changes? (with a checkbox)

May it be possible to also prompt:
— Keep local changes (through temporary stash)

It happened often that switching from one branch to another, we want to keep our local changes. Now, it means:
1. clicking on a new branch
2. cancelling the prompt (because we want to keep local changes)
3. stashing,
4. clicking again on the new branch
5. unstashing

With an option like that (as last option — or even also as a global default settings), it will come down only to the first step.

Naming the stash has not interest here, because it's created before switching branches and destroyed immediately after the switch.

Thanks a lot.

1 answer

0 votes
minnsey Atlassian Team Nov 23, 2018


This option is being prototyped currently.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

78,915 views 134 29
Read article

Atlassian Community Events