- There is a partial support for 'shallow' repositories that
keeps only recent history. A 'shallow clone' is created by
specifying how deep that truncated history should be
- (e.g. "git clone --depth=5 git://some.where/repo.git").
+ (e.g. "git clone --depth 5 git://some.where/repo.git").
Currently a shallow repository has number of limitations:
pull.twohead::
The default merge strategy to use when pulling a single branch.
+remote.fetch::
+ The list of remotes which are fetched by "git remote update".
+ See gitlink:git-remote[1].
+
remote.<name>.url::
The URL of a remote repository. See gitlink:git-fetch[1] or
gitlink:git-push[1].
<div class="verseblock">\r
<div class="content"><em>git-clone</em> [--template=<template_directory>] [-l [-s]] [-q] [-n] [--bare]\r
[-o <name>] [-u <upload-pack>] [--reference <repository>]\r
- [--depth=<depth>] <repository> [<directory>]</div></div>\r
+ [--depth <depth>] <repository> [<directory>]</div></div>\r
</div>\r
<h2>DESCRIPTION</h2>\r
<div class="sectionbody">\r
</p>\r
</dd>\r
<dt>\r
---depth=<depth>\r
+--depth <depth>\r
</dt>\r
<dd>\r
<p>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 19-Jan-2007 00:37:14 UTC\r
+Last updated 20-Feb-2007 04:51:59 UTC\r
</div>\r
</div>\r
</body>\r
[verse]
'git-clone' [--template=<template_directory>] [-l [-s]] [-q] [-n] [--bare]
[-o <name>] [-u <upload-pack>] [--reference <repository>]
- [--depth=<depth>] <repository> [<directory>]
+ [--depth <depth>] <repository> [<directory>]
DESCRIPTION
-----------
if unset the templates are taken from the installation
defined default, typically `/usr/share/git-core/templates`.
---depth=<depth>::
+--depth <depth>::
Create a 'shallow' clone with a history truncated to the
specified number of revs. A shallow repository has
number of limitations (you cannot clone or fetch from
</p>\r
</dd>\r
<dt>\r
+remote.fetch\r
+</dt>\r
+<dd>\r
+<p>\r
+ The list of remotes which are fetched by "git remote update".\r
+ See <a href="git-remote.html">git-remote(1)</a>.\r
+</p>\r
+</dd>\r
+<dt>\r
remote.<name>.url\r
</dt>\r
<dd>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 13-Feb-2007 23:48:05 UTC\r
+Last updated 20-Feb-2007 04:52:00 UTC\r
</div>\r
</div>\r
</body>\r
<div class="content"><em>git-remote</em>\r
<em>git-remote</em> add <name> <url>\r
<em>git-remote</em> show <name>\r
-<em>git-remote</em> prune <name></div></div>\r
+<em>git-remote</em> prune <name>\r
+<em>git-remote</em> update</div></div>\r
</div>\r
<h2>DESCRIPTION</h2>\r
<div class="sectionbody">\r
<p>\r
Deletes all stale tracking branches under <name>.\r
These stale branches have already been removed from the remote repository\r
-referenced by <name>, but are still locally available in "remotes/<name>".\r
+referenced by <name>, but are still locally available in\r
+"remotes/<name>".\r
+</p>\r
+</dd>\r
+<dt>\r
+<em>update</em>\r
+</dt>\r
+<dd>\r
+<p>\r
+Fetch updates for the remotes in the repository. By default all remotes\r
+are updated, but this can be configured via the configuration parameter\r
+<em>remote.fetch</em>. (See <a href="git-config.html">git-config(1)</a>).\r
</p>\r
</dd>\r
</dl>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 04-Feb-2007 08:31:45 UTC\r
+Last updated 20-Feb-2007 04:52:01 UTC\r
</div>\r
</div>\r
</body>\r
'git-remote' add <name> <url>
'git-remote' show <name>
'git-remote' prune <name>
+'git-remote' update
DESCRIPTION
-----------
Deletes all stale tracking branches under <name>.
These stale branches have already been removed from the remote repository
-referenced by <name>, but are still locally available in "remotes/<name>".
+referenced by <name>, but are still locally available in
+"remotes/<name>".
+
+'update'::
+
+Fetch updates for the remotes in the repository. By default all remotes
+are updated, but this can be configured via the configuration parameter
+'remote.fetch'. (See gitlink:git-config[1]).
DISCUSSION
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 18-Feb-2007 00:34:44 UTC\r
+Last updated 20-Feb-2007 04:52:02 UTC\r
</div>\r
</div>\r
</body>\r