Skip to content

Instantly share code, notes, and snippets.

@stanlee321
Created August 28, 2020 05:07
Show Gist options
  • Save stanlee321/48fe3419080119c302edf4f45bb8b910 to your computer and use it in GitHub Desktop.
Save stanlee321/48fe3419080119c302edf4f45bb8b910 to your computer and use it in GitHub Desktop.
delete-last-remote-commit
git reset --hard HEAD^
git push origin -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment