When I did git stash push <path/to/file>
it created stash@{0}
for it.
Reusing the same command with different file creates another stash -> stash@{1}
.
I have other files that logically belong to stash@{0}.
Can I somehow push file to existing stash?
If you mean akin to git commit --amend
, I am afraid you are out of luck, but would it be acceptable for your use case, to:
git stash pop
and then
git stash push ORIGINAL_FILES MORE_FILES
to have the files grouped?