Skip to content

Instantly share code, notes, and snippets.

@wilsonsilva
Created June 21, 2017 15:47
Show Gist options
  • Save wilsonsilva/c6f870e6423a1c0076224d1f1e468dbb to your computer and use it in GitHub Desktop.
Save wilsonsilva/c6f870e6423a1c0076224d1f1e468dbb to your computer and use it in GitHub Desktop.
Undo last commit but keep changes
# https://stackoverflow.com/a/44672195/3013522
git reset --soft HEAD~1
@dimon2255
Copy link

Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment