</div>\r
<h2>SYNOPSIS</h2>\r
<div class="sectionbody">\r
-<p><em>git-init-db</em> [--template=<template_directory>]</p>\r
+<p><em>git-init-db</em> [--template=<template_directory>] [--shared]</p>\r
</div>\r
<h2>OPTIONS</h2>\r
<div class="sectionbody">\r
Provide the directory in from which templates will be used.\r
</p>\r
</dd>\r
+<dt>\r
+--shared\r
+</dt>\r
+<dd>\r
+<p>\r
+ Specify that the git repository is to be shared amongst several users.\r
+</p>\r
+</dd>\r
</dl>\r
</div>\r
<h2>DESCRIPTION</h2>\r
<p>If the object storage directory is specified via the <tt>$GIT_OBJECT_DIRECTORY</tt>\r
environment variable then the sha1 directories are created underneath -\r
otherwise the default <tt>$GIT_DIR/objects</tt> directory is used.</p>\r
-<p><tt>git-init-db</tt> won't hurt an existing repository.</p>\r
+<p>A shared repository allows users belonging to the same group to push into that\r
+repository. When specifying <tt>--shared</tt> the config variable "core.sharedRepository"\r
+is set to <em>true</em> so that directories under <tt>$GIT_DIR</tt> are made group writable\r
+(and g+sx, since the git group may be not the primary group of all users).</p>\r
+<p>Running <tt>git-init-db</tt> in an existing repository is safe. It will not overwrite\r
+things that are already there. The primary reason for rerunning <tt>git-init-db</tt>\r
+is to pick up newly added templates.</p>\r
</div>\r
<h2>EXAMPLES</h2>\r
<div class="sectionbody">\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 27-Dec-2005 00:16:13 PDT\r
+Last updated 06-Jan-2006 17:12:38 PDT\r
</div>\r
</div>\r
</body>\r