Documentation/git-add: clarify -u with path limiting
Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Jeff King committed
May 13, 2007 at 20:39 UTC
dfaa61bd524799d61b50bbbcee8b7972910ea41c
1 file changed
+5
-2
Documentation/git-add.txt
+5
-2
@@ -57,8 +57,11 @@ OPTIONS
57
the index.
58
59
-u::
60
- Update all files that git already knows about. This is what
61
- "git commit -a" does in preparation for making a commit.
60
+ Update only files that git already knows about. This is similar
61
+ to what "git commit -a" does in preparation for making a commit,
62
+ except that the update is limited to paths specified on the
63
+ command line. If no paths are specified, all tracked files are
64
+ updated.
65
66
\--::
67
This option can be used to separate command-line options from