Skip to content

Commit

Permalink
Autogenerated HTML docs for v1.8.2-rc3-16-gce432
Browse files Browse the repository at this point in the history
  • Loading branch information
gitster committed Mar 11, 2013
1 parent 6cfebd0 commit f66c463
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 21 deletions.
23 changes: 12 additions & 11 deletions git-add.html
Expand Up @@ -888,12 +888,9 @@ <h2 id="_options">OPTIONS</h2>
</dt> </dt>
<dd> <dd>
<p> <p>
Only match &lt;pathspec&gt; against already tracked files in Update the index just where it already has an entry matching
the index rather than the working tree. That means that it &lt;pathspec&gt;. This removes as well as modifies index entries to
will never stage new files, but that it will stage modified match the working tree, but adds no new files.
new contents of tracked files and that it will remove files
from the index if the corresponding files in the working tree
have been removed.
</p> </p>
<div class="paragraph"><p>If no &lt;pathspec&gt; is given, the current version of Git defaults to <div class="paragraph"><p>If no &lt;pathspec&gt; is given, the current version of Git defaults to
"."; in other words, update all tracked files in the current directory "."; in other words, update all tracked files in the current directory
Expand All @@ -908,11 +905,15 @@ <h2 id="_options">OPTIONS</h2>
</dt> </dt>
<dd> <dd>
<p> <p>
Like <code>-u</code>, but match &lt;pathspec&gt; against files in the Update the index not only where the working tree has a file
working tree in addition to the index. That means that it matching &lt;pathspec&gt; but also where the index already has an
will find new files as well as staging modified content and entry. This adds, modifies, and removes index entries to
removing files that are no longer in the working tree. match the working tree.
</p> </p>
<div class="paragraph"><p>If no &lt;pathspec&gt; is given, the current version of Git defaults to
"."; in other words, update all files in the current directory
and its subdirectories. This default will change in a future version
of Git, hence the form without &lt;pathspec&gt; should not be used.</p></div>
</dd> </dd>
<dt class="hdlist1"> <dt class="hdlist1">
-N -N
Expand Down Expand Up @@ -1290,7 +1291,7 @@ <h2 id="_git">GIT</h2>
<div id="footnotes"><hr /></div> <div id="footnotes"><hr /></div>
<div id="footer"> <div id="footer">
<div id="footer-text"> <div id="footer-text">
Last updated 2013-02-15 15:22:25 PST Last updated 2013-03-11 13:54:06 PDT
</div> </div>
</div> </div>
</body> </body>
Expand Down
22 changes: 12 additions & 10 deletions git-add.txt
Expand Up @@ -100,12 +100,9 @@ apply to the index. See EDITING PATCHES below.


-u:: -u::
--update:: --update::
Only match <pathspec> against already tracked files in Update the index just where it already has an entry matching
the index rather than the working tree. That means that it <pathspec>. This removes as well as modifies index entries to
will never stage new files, but that it will stage modified match the working tree, but adds no new files.
new contents of tracked files and that it will remove files
from the index if the corresponding files in the working tree
have been removed.
+ +
If no <pathspec> is given, the current version of Git defaults to If no <pathspec> is given, the current version of Git defaults to
"."; in other words, update all tracked files in the current directory "."; in other words, update all tracked files in the current directory
Expand All @@ -114,10 +111,15 @@ of Git, hence the form without <pathspec> should not be used.


-A:: -A::
--all:: --all::
Like `-u`, but match <pathspec> against files in the Update the index not only where the working tree has a file
working tree in addition to the index. That means that it matching <pathspec> but also where the index already has an
will find new files as well as staging modified content and entry. This adds, modifies, and removes index entries to
removing files that are no longer in the working tree. match the working tree.
+
If no <pathspec> is given, the current version of Git defaults to
"."; in other words, update all files in the current directory
and its subdirectories. This default will change in a future version
of Git, hence the form without <pathspec> should not be used.


-N:: -N::
--intent-to-add:: --intent-to-add::
Expand Down

0 comments on commit f66c463

Please sign in to comment.