So the situation is I cloned a repo from Github and I messed up trying to build it and it added new files and made changes to existing files in the repo. I have no commits and never staged anything. How do I revert to the clean master branch (meaning the actual local files on my PC) of the clone ?
If I wasn't using git commands I would delete the local files from disk and just re-download/clone the repo. However I feel there should be an easy way to do this using Git. I never messed with my Git settings, so git status still lists all untracked files and lists modifications, but I don't want to manually checkout every file one by one and then manually delete each untracked file one by one.