git reset --hard HEAD~1 git reset --hard <commit_sha>
git reset --hard HEAD~1
git revert -m 1 commit_hash
// find the commit hash git log --oneline git revert -m 1 [commit-hash] // https://www.datree.io/resources/git-undo-merge