Browse Source

Adding git add -u

Markus Thoemmes 9 years ago
parent
commit
6dae21d335
1 changed files with 5 additions and 1 deletions
  1. 5 1
      pages/common/git-add.md

+ 5 - 1
pages/common/git-add.md

@@ -6,10 +6,14 @@
 
 `git add {{PATHSPEC}}`
 
-- Add all current changes to the index
+- Add all files (tracked and untracked)
 
 `git add .`
 
+- Only add already tracked files
+
+`git add -u`
+
 - Also add ignored files
 
 `git add -f`