Question:
What happens when your perform a git reset --hard?
When you perform a git reset --hard, all changes in the working directory are reverted to match the last commit. New files and changes made after that reset won’t be automatically staged or tracked.
Therefore, if using Visual Studio Code it will show "no changes" because Git has reset the state, and Visual Studio Code is reflecting that status. It won’t know about any new files you added prior to the git reset --hard until you explicitly stage them or add / delete files.
Taxonomy: