Skip to content

Commit

Permalink
Clarified the meaning of git-add -u in the documentation
Browse files Browse the repository at this point in the history
The git-add documentation did not state clearly that the -u switch
updates only the tracked files that are in the current directory and
its subdirectories.

Signed-off-by: Pekka Kaitaniemi <kaitanie@cc.helsinki.fi>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Pekka Kaitaniemi authored and Junio C Hamano committed Feb 21, 2008
1 parent 5274ba6 commit 0ca15e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/git-add.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ OPTIONS
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.
command line. If no paths are specified, all tracked files in the
current directory and its subdirectories are updated.

\--refresh::
Don't add the file(s), but only refresh their stat()
Expand Down

0 comments on commit 0ca15e7

Please sign in to comment.