Skip to content

Instantly share code, notes, and snippets.

@rodde177
Created May 26, 2015 13:27
Show Gist options
  • Save rodde177/f6fee7b523c2952c7ad9 to your computer and use it in GitHub Desktop.
Save rodde177/f6fee7b523c2952c7ad9 to your computer and use it in GitHub Desktop.
git revert
#goes back to old commit and remove files from new commit
git reset --hard hte_hash
git push origin master --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment