Last active
August 9, 2018 07:10
-
-
Save gjhuerte/4baf9968ca32c2d72759d0c75c409d9a to your computer and use it in GitHub Desktop.
Reset commited files ( Github )
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
git reset --soft HEAD^ | |
git reset HEAD^ | |
git reset --hard HEAD^ | |
src: https://stackoverflow.com/questions/2845731/how-to-uncommit-my-last-commit-in-git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment