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).
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
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!
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