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

1 vote
Answer 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 Sign up to answer
Community showcase
Published Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables ROLLBAR_ACCESS_TOKEN...

194 views 0 12
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