I have changed and added a couple of files within my project for test purposes and now I am trying to reset the entire project to last commit I did. Hence, I want to reset to HEAD. So I did:
git reset --hard HEAD
So now, all the files I changed are reset to the version I had at my last commit, but the problem is, that all the new files I created still remain. Shouldn't in reset process all be reset to exactly the version of in this case HEAD?
How can I properly set everything in my project to the state of the HEAD as if I didn't change anything?