I created a new C++ GameModeBase class on a miss click and can’t remove. I tried reverting back to my last commit but it saved in anyway. I tried deleting it directly in visual studios but it won’t let me. I’m hunting for it in the file system but I’m concerned I will kill the entire project if I remove the wrong thing.
Isn’t this the kind of thing source tree is supposed to prevent? Why did it commit the change before I actually committed it? How can I change it and prevent it from happening again? How Can I undo this simple mistake?