Skip to content

Instantly share code, notes, and snippets.

@bradp
Created December 9, 2012 22:50
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 bradp/4247352 to your computer and use it in GitHub Desktop.
Save bradp/4247352 to your computer and use it in GitHub Desktop.
Remove commit from Github.com
$ git reset --hard [sha of commit]
$ git push -f origin HEAD^:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment