What is the difference between the following commands in Visual Studio 2019 for GIT stash?
pop and restore staged (--index)
pop All as unstaged
while using https://visualstudio.github.com/
What is the difference between the following commands in Visual Studio 2019 for GIT stash?
pop and restore staged (--index)
pop All as unstaged
while using https://visualstudio.github.com/
Found a good article : https://www.thomasclaudiushuber.com/2019/04/10/the-git-stash-functionality-in-visual-studio-2019 - and here is the answer:
If you hadn’t any staged files before you created the stash, then you won’t see a difference between the two options.