Code

Document git-gui, git-citool as mainporcelain manual pages
[git.git] / Documentation / git-add.txt
index ea2701846f3b9f2ddd86942223df65872a70b64f..76d2b05854ccc742105c374fae33c676795d29f1 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::
@@ -216,4 +228,3 @@ Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
 GIT
 ---
 Part of the gitlink:git[7] suite
-