Created
February 10, 2017 20:55
-
-
Save anonymous/a1b4a7b0f5cf7fd3a4e6272f5e8fc1a0 to your computer and use it in GitHub Desktop.
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 status | |
(use "git reset HEAD ... to ...) | |
... modified: somewhere/somefile | |
git checkout -- somewhere/somefile | |
git status | |
(use "git reset HEAD ... to ...) | |
... modified: somewhere/somefile | |
git reset HEAD somewhere/somefile | |
git status | |
HEAD detached at cf639d6 | |
nothing to commit, working tree clean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment