Skip to content

Instantly share code, notes, and snippets.

@citizen428
Created July 9, 2018 04:00
Show Gist options
  • 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