Skip to content

Instantly share code, notes, and snippets.

@ccopsey
Created January 3, 2015 19:58
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 ccopsey/559cb601ee61c22cd549 to your computer and use it in GitHub Desktop.
Save ccopsey/559cb601ee61c22cd549 to your computer and use it in GitHub Desktop.
Rollback git repository to specific commit
git reset --hard <old-commit-id>
git push -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment