Skip to content

Instantly share code, notes, and snippets.

@citizen428
Created July 9, 2018 04:00
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 citizen428/55f0002c22846d16016ccfd77e645eeb to your computer and use it in GitHub Desktop.
Save citizen428/55f0002c22846d16016ccfd77e645eeb to your computer and use it in GitHub Desktop.
# undo the last commit, but don't create a revert commit
git revert -n HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment