Support partial stash
Sometimes it is helpful to stash only some files in a WIP instead of all of them. This would allow a user to select one or multiple files in the commit details panel and create a stash with only those files, likely via context menu.
Comments: 13
-
30 Jun, '21
Dai ReesThis could be implemented by using the technique described here: https://stackoverflow.com/questions/14759748/stashing-only-staged-changes-in-git-is-it-possible - basically running `git stash` twice.
-
02 Aug, '21
Max AI would especially like to see stashing of only staged hunks! That would be super handy
-
28 Oct, '21
BJörnI need this badly!
-
15 Nov, '21
JulienThat would be great, really.
-
31 Dec, '21
MichailThis should be standard!!! ;-)
File handling is an important base task. ;-) -
03 Jan
Lucas Sampaio DiasThis would be VERY helpful
-
28 Jan
Dan CaseleyAbsolutely an awesome power tool.
Current workaround is 'git stash push file1 file2 file3', but it's gross switching back to CLI after getting addicted to GitKraken -
09 Feb
DejanI'm missing this feature again and again.
-
22 Mar
d11nYes please, this would be a great addition and very helpful for managing the working copy.
-
19 Apr
MaxIt would be incredible for productivity if you could perform partial stashes (picking or excluding files to be included in the stash) and also perform partial stash applications (e.g. I just want to use this one file I stashed earlier, please don't make me override everything else)
I believe this is a pretty common in Mercurial and once you've tried it going back is quite painful -
11 May
JoeMay I suggest that while holding down the Shift key, the "Stage File" button could change to "Stash File", discoverable by tooltip text "Press Shift to Stash" when hovering over the Stage File button.
-
19 May
JoelI have been asking for partial stash and partial apply of a stash for nearly three years. Let's go, Gitkraken! It would be REALLY useful!
-
19 May
JoelIf you want to see this, go upvote this issue in the libgit2 repo. GitKraken is built on top of libgit2.
https://github.com/libgit2/libgit2/issues/4725