If you pushed some changes to GitHub that you want to completely erase from history:
git push -f origin ROLLBACK_TO_SHA:your_branch_name
If you then need to rollback your local branch to match the origin do this:
git reset --hard origin/your_branch_name
There was an error while loading. Please reload this page.