Skip to content

Instantly share code, notes, and snippets.

@mandeepbal
Created September 10, 2014 06:16
Show Gist options
  • Save mandeepbal/b1312410c2c5c14fffaf to your computer and use it in GitHub Desktop.
Save mandeepbal/b1312410c2c5c14fffaf to your computer and use it in GitHub Desktop.
git revert branch
git push -f origin last-release:master
where last-release is the commit id, or branch you want to reset master to.
@mandeepbal
Copy link
Author

git reset --hard 107be5a07
git status
git push -f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment