Created
October 14, 2015 14:22
-
-
Save TylerRockwell/defdbd0f6f7b96b2b9c6 to your computer and use it in GitHub Desktop.
Git Messes
This file contains hidden or 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
| What command do you run if you want to discard all changes since your last commit? | |
| git stash | |
| What command do you use if you run git add and then want to revert it? | |
| git reset | |
| What command do you use if you run git commit and then want to revert it? | |
| git checkout **previous commit id** | |
| that other command that fixes detached head mode that I always have to google. | |
| What command do you use if you run git push and then want to revert it? | |
| git cry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment