SyntaxFix
Write A Post
Hire A Developer
Questions
If you want to throw the latest four commits away, use:
git reset --hard HEAD^^^^
Alternatively, you can specify the hash of a commit you want to reset to:
git reset --hard 6e559cb