Created
June 28, 2018 10:46
-
-
Save Ddedalus/dcc3e8d82be73d3d50daf86dc8e4a548 to your computer and use it in GitHub Desktop.
discard unstaged git changes
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
| git checkout filename | |
| git checkout -- filename # if it happend to clash with branch name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment