2020-11-06

local untracked file is gone after git pull

 Git version:

PortableGit-2.28.0-64-bit.7z


Case:

Did a Git Stash in Visual Studio Code, before commit i did git  pull, then my changes and new files all gone.


Read article saying that git stash won't "add" new files(untracked)

https://www.cnblogs.com/zndxall/archive/2018/09/04/9586088.html

But luckily still able get back all files(changes + new/untracked files) by git stash pop.














No comments:

Google Referrals