2 ms·
You can use git stash -k Which will create the stash with your changes (both staged and unstaged), but keep the staged ones in the staging area and in the w
by glandium 10y ago
You can use
git stash -k
Which will create the stash with your changes (both staged and unstaged), but keep the staged ones in the staging area and in the working tree.
https://github.com/git/git/blob/659889482ac63411daea38b2c3d127842ea04e4d/Documentation/git-stash.txt#L239 https://github.com/git/git/blob/659889482ac63411daea38b2c3d1...