<div class="sectionbody">\r
<p>A simple wrapper for git-update-index to add files to the index,\r
for people used to do "cvs add".</p>\r
+<p>It only adds non-ignored files, to add ignored files use\r
+"git update-index --add".</p>\r
</div>\r
<h2>OPTIONS</h2>\r
<div class="sectionbody">\r
</dt>\r
<dd>\r
<p>\r
- Files to add to the index.\r
+ Files to add to the index (see <a href="git-ls-files.html">git-ls-files(1)</a>).\r
</p>\r
</dd>\r
<dt>\r
</div>\r
<h2>See Also</h2>\r
<div class="sectionbody">\r
-<p><a href="git-rm.html">git-rm(1)</a></p>\r
+<p><a href="git-rm.html">git-rm(1)</a>\r
+<a href="git-ls-files.html">git-ls-files(1)</a></p>\r
</div>\r
<h2>Author</h2>\r
<div class="sectionbody">\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 05-May-2006 23:14:10 UTC\r
+Last updated 21-May-2006 10:50:02 UTC\r
</div>\r
</div>\r
</body>\r
A simple wrapper for git-update-index to add files to the index,
for people used to do "cvs add".
+It only adds non-ignored files, to add ignored files use
+"git update-index --add".
OPTIONS
-------
<file>...::
- Files to add to the index.
+ Files to add to the index (see gitlink:git-ls-files[1]).
-n::
Don't actually add the file(s), just show if they exist.
See Also
--------
gitlink:git-rm[1]
+gitlink:git-ls-files[1]
Author
------
<dd>\r
<p>\r
The name of the branch to create or delete.\r
+ The new branch name must pass all checks defined by\r
+ <a href="git-check-ref-format.html">git-check-ref-format(1)</a>. Some of these checks\r
+ may restrict the characters allowed in a branch name.\r
</p>\r
</dd>\r
<dt>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 29-Apr-2006 07:01:32 UTC\r
+Last updated 21-May-2006 10:50:03 UTC\r
</div>\r
</div>\r
</body>\r
<branchname>::
The name of the branch to create or delete.
+ The new branch name must pass all checks defined by
+ gitlink:git-check-ref-format[1]. Some of these checks
+ may restrict the characters allowed in a branch name.
<start-point>::
The new branch will be created with a HEAD equal to this. It may
<p>\r
colon <tt>:</tt> is used as in <tt>srcref:dstref</tt> to mean "use srcref's\r
value and store it in dstref" in fetch and push operations.\r
+ It may also be used to select a specific object such as with\r
+ <a href="git-cat-file.html">git-cat-file(1)</a> "git-cat-file blob v1.3.3:refs.c".\r
</p>\r
</li>\r
</ol>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 10-Mar-2006 00:31:21 UTC\r
+Last updated 21-May-2006 10:50:04 UTC\r
</div>\r
</div>\r
</body>\r
. colon `:` is used as in `srcref:dstref` to mean "use srcref\'s
value and store it in dstref" in fetch and push operations.
+ It may also be used to select a specific object such as with
+ gitlink:git-cat-file[1] "git-cat-file blob v1.3.3:refs.c".
GIT
</dt>\r
<dd>\r
<p>\r
- Create a new branch and start it at <branch>.\r
+ Create a new branch named <new_branch> and start it at\r
+ <branch>. The new branch name must pass all checks defined\r
+ by <a href="git-check-ref-format.html">git-check-ref-format(1)</a>. Some of these checks\r
+ may restrict the characters allowed in a branch name.\r
</p>\r
</dd>\r
<dt>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 29-Apr-2006 07:01:33 UTC\r
+Last updated 21-May-2006 10:50:03 UTC\r
</div>\r
</div>\r
</body>\r
Force a re-read of everything.
-b::
- Create a new branch and start it at <branch>.
+ Create a new branch named <new_branch> and start it at
+ <branch>. The new branch name must pass all checks defined
+ by gitlink:git-check-ref-format[1]. Some of these checks
+ may restrict the characters allowed in a branch name.
-m::
If you have local modifications to one or more files that