Skip to content

Instantly share code, notes, and snippets.

@smbanaie
Created June 8, 2014 13:03
Show Gist options
  • Save smbanaie/7d73dbc2209cac214487 to your computer and use it in GitHub Desktop.
Save smbanaie/7d73dbc2209cac214487 to your computer and use it in GitHub Desktop.
Git Essential Command
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