I tried to update my branch from master, but must have screwed something up (I don't know what). Now I have about 20 modified and untracked files I do not want in my branch.
How can I go back to the last commit or push I made, before I tried to update?
I've tried
git checkout 12345
, getting the hash from git log
but the files are still present.
Would anyone know what I could do?