Code

git-submodule: clone during update, not during init
[git.git] / Documentation / git-add.txt
index ea2701846f3b9f2ddd86942223df65872a70b64f..a0c9f68580594f785aaec0472ca8404701d4d86d 100644 (file)
@@ -57,8 +57,11 @@ OPTIONS
        the index.
 
 -u::
-       Update all files that git already knows about. This is what
-       "git commit -a" does in preparation for making a commit.
+       Update only files that git already knows about. This is similar
+       to what "git commit -a" does in preparation for making a commit,
+       except that the update is limited to paths specified on the
+       command line. If no paths are specified, all tracked files are
+       updated.
 
 \--::
        This option can be used to separate command-line options from
@@ -66,6 +69,15 @@ OPTIONS
        for command-line options).
 
 
+Configuration
+-------------
+
+The optional configuration variable 'core.excludesfile' indicates a path to a
+file containing patterns of file names to exclude from git-add, similar to
+$GIT_DIR/info/exclude.  Patterns in the exclude file are used in addition to
+those in info/exclude.  See link:repository-layout.html[repository layout].
+
+
 EXAMPLES
 --------
 git-add Documentation/\\*.txt::