I learned git a while back and I have forgot the methods that are used the least. I have an emergency, I have homework due tomorrow and I should be writing the code rather than messing with git. I have been researching this and I just don't have the time to mess around with this any more.
I've looked at this answer but its too much information, I get lost in the noise How to revert Git repository to a previous commit?
so look here is what I am looking for. I want to rewrite history completely in the local and remote repos. I need to go to a specific commit and make it look like that is the latest commit ever made. To say it in another way. If the professor committed something on the 4th and I made changes on the 5th 6th and 7th, I want to delete those changes completely. To where the last commit ever made was on the 4th. I promise to rewatch and re study git this weekend but right now guys I need a solid, straight answer please.