Skip to content

Commit

Permalink
Documentation/git-add: clarify -u with path limiting
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Jeff King authored and Junio C Hamano committed May 14, 2007
1 parent 331b51d commit dfaa61b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Documentation/git-add.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dfaa61b

Please sign in to comment.