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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.