stash push/pop unstages files?
- From
- Yuri <yuri@rawbw.com>
- Date
- Sep 5, 2021, 17:09 UTC
- Message-ID
- <0e1f7a47-89e3-5f49-663e-bdd3e8efb6e5@rawbw.com>
In one sub-directory I altered some files, added a directory with files and added the changes (git add .)
Then I called 'git stash push && git stash pop'.
After this the newly added directory remained in the staged status, but altered files became unstaged.
Is this an intended behavior?
Why stash push/pop unstages files? Shouldn't it preserve the directory as-is?
Thanks,
Yuri