Skip to content

Instantly share code, notes, and snippets.

@anubhavsinha
Created March 28, 2017 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anubhavsinha/c1139e80a170639044c22e8fba33b469 to your computer and use it in GitHub Desktop.
Save anubhavsinha/c1139e80a170639044c22e8fba33b469 to your computer and use it in GitHub Desktop.
git revert to old commit id
git reset --hard af55c4e
git push -f origin HEAD:branch-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment