Created
June 21, 2017 15:47
-
-
Save wilsonsilva/c6f870e6423a1c0076224d1f1e468dbb to your computer and use it in GitHub Desktop.
Undo last commit but keep changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://stackoverflow.com/a/44672195/3013522 | |
git reset --soft HEAD~1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Awesome!