Skip to content
tomspilman edited this page Feb 21, 2013 · 2 revisions

Rollback History

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
Clone this wiki locally