Q:

vs code is showing 5k untracked files when nothing is changed from last commit

Create .gitignore file
add below line to it
node_modules
or 
local
1

New to Communities?

Join the community