Skip to content

Instantly share code, notes, and snippets.

@td0
Created February 21, 2016 13:04
Show Gist options
  • Save td0/4013add8c54f44a83afe to your computer and use it in GitHub Desktop.
Save td0/4013add8c54f44a83afe to your computer and use it in GitHub Desktop.
git reset --hard <old-commit-id>
git push -f <remote-name> <branch-name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment