Skip to content

Instantly share code, notes, and snippets.

@pedrofelipe
Created June 22, 2015 16:59
Show Gist options
  • Save pedrofelipe/c64d0daea2959e876446 to your computer and use it in GitHub Desktop.
Save pedrofelipe/c64d0daea2959e876446 to your computer and use it in GitHub Desktop.
Undo last commit
$ git reset HEAD~1
$ git status
$ git reset ./
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment