Skip to content

Instantly share code, notes, and snippets.

@codedoneteam
Last active November 20, 2020 22:05
Show Gist options
  • Save codedoneteam/666fe11c7ea6fab50d1c270809315978 to your computer and use it in GitHub Desktop.
Save codedoneteam/666fe11c7ea6fab50d1c270809315978 to your computer and use it in GitHub Desktop.
Git reset
git reset --hard <commit-hash>
git push -f origin master
git checkout $(git rev-list -n 1 tags/1.4.0)
git push origin --delete test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment