Sourcetree git-stash interactive mode

Would it be possible to extend current stash behaviour? Now it only allows to stash all and delete/keep changes in working directory which is useful but sometimes I would like to stash only some changes in my stash. Not all of them!

So far I'm using:
>> git stash save --patch
which brings console interactive mode.

Is this extension to current functionallity planned or maybe it could be planned for next releses? ;-)

BTW if I asked in wrong place, please give me a hint where I should do it ;-) I'm kinda new here.

Best Regards,

4 answers

1 accepted

That's actually a kind of answer that I expected ;-)

Also, if the answer to a "Can I..." or "How do I..." question is "You can't", then it would be appropriate to submit a feature request to, but usually check here first to make sure you aren't missing something.

Answers is a community driven site. Questions like this one are perfectly suited here. Bugs should be reported to, and account support should be directed to

The only way to acheive this currently is to stage the changes you don't want to stash. Then hit the Stash button and check the "keep staged changes" option.

I think it does not work this way.

I made a simple check:

  1. Made a change to two files
  2. Added one to Staged and left the other one in unstagged.
  3. Stage + keep staged changes.
  4. Result: Both files are in new stash. Staged change remains in repo and unstaged is only in stash.

Are you sure it works as you said?
PS Newest version

So it sounds like the staged change ends up in both the working copy and the stash. Odd. You may need to commit that first, then stash the rest. Make sure to accept your feature request as a correct answer.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

714 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot