Browse Source

Undo unstaged local modification

Mehdi FARSI 9 years ago
parent
commit
0d2cfc2e3d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/common/git-checkout.md

+ 4 - 0
pages/common/git-checkout.md

@@ -9,3 +9,7 @@
 - Create and switch to a new branch
 - Create and switch to a new branch
 
 
 `git checkout -b {{BRANCH-NAME}}`
 `git checkout -b {{BRANCH-NAME}}`
+
+- Undo unstaged local modification
+
+`git checkout .`