Skip to content

Instantly share code, notes, and snippets.

@jumarome
Created February 7, 2018 20:37
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 jumarome/565972f58a40b2cb1507fd1bb17b1b99 to your computer and use it in GitHub Desktop.
Save jumarome/565972f58a40b2cb1507fd1bb17b1b99 to your computer and use it in GitHub Desktop.
Undo last commit preserving changes
git reset --soft HEAD~1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment