There are no straightforward ways to do it. The command-line solution in the Stackoverflow link in Seth's answer is useful, but I user my own trick in Sourcetree.
To stash select files:
You can then re-apply the first stash, and discard the files that you wanted to stash.
I'm on a Mac. By the way:
- cmd + click: selects deselects a single file for further action
- shift + click: extends selection to that file for further action
- ctrl + click: opens contextual menu (same as right click)
- alt + click: does nothing more than normal left click
So on a Mac none of the previous serves the purpose.
I was asking the shell Git command because I'm not sure if it's even possible to do what I want to (= stash single files).
A vulnerability has been published today in regards to Sourcetree for Windows. The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events