Skip to content

Instantly share code, notes, and snippets.

@sujancse
Last active August 6, 2018 09:26
Show Gist options
  • Save sujancse/7ab6938302ce4691e4ff26db716df234 to your computer and use it in GitHub Desktop.
Save sujancse/7ab6938302ce4691e4ff26db716df234 to your computer and use it in GitHub Desktop.
Git revert back to #commit_hash with HEAD
git reset --hard #commit_hash
Then commit and
git push --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment