SyntaxFix
Write A Post
Hire A Developer
Questions
Probably git reset solves your problem.
git reset
git reset --hard -#commit hash-