Răsfoiți Sursa

Undo unstaged local modification

Mehdi FARSI 9 ani în urmă
părinte
comite
0d2cfc2e3d
1 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  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
 
 `git checkout -b {{BRANCH-NAME}}`
+
+- Undo unstaged local modification
+
+`git checkout .`