Difference between revisions of "Git add -A"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
  
  
  [[git --help]]
+
  [[git add --help]]
 
  -A, --all, --no-ignore-removal
 
  -A, --all, --no-ignore-removal
 
           Update the index not only where the working tree has a file matching <pathspec> but also where the index already has an entry. This adds, modifies, and removes
 
           Update the index not only where the working tree has a file matching <pathspec> but also where the index already has an entry. This adds, modifies, and removes

Revision as of 09:18, 16 November 2022

git add -A


git add --help
-A, --all, --no-ignore-removal
          Update the index not only where the working tree has a file matching <pathspec> but also where the index already has an entry. This adds, modifies, and removes
          index entries to match the working tree.
          If no <pathspec> is given when -A option is used, all files in the entire working tree are updated (old versions of Git used to limit the update to the current
          directory and its subdirectories).


See also

Advertising: