Skip to content

Instantly share code, notes, and snippets.

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 guildenstern70/28d88c5ebe12d489347d0627c4021a9e to your computer and use it in GitHub Desktop.
Save guildenstern70/28d88c5ebe12d489347d0627c4021a9e to your computer and use it in GitHub Desktop.
GIT: Go back to one commit
git reset --hard f92265e5dc3c82ed14a61e4b4e60688b2525c6c8
git push -f
Note that the master branch is PROTECTED against forced pushes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment