Skip to content

Instantly share code, notes, and snippets.

@csymlstd
Created June 26, 2018 20:51
Show Gist options
  • Save csymlstd/26c298c556c1092b6b4f2029416caabb to your computer and use it in GitHub Desktop.
Save csymlstd/26c298c556c1092b6b4f2029416caabb to your computer and use it in GitHub Desktop.
git commands
# go back to a commit and remove commits ahead
git reset --hard 203b24f
git push origin HEAD --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment