Post

Delete Git/Github Commit

Reset to specific commit hash:

1
git reset --hard <commit-hash>

Force push to remote:

1
git push --force origin <branch>
This post is licensed under CC BY 4.0 by the author.