diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2006-03-18 07:45:42 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2006-03-18 07:45:42 +0000 |
commit | 2b13527e6477916ed5cb6f1858d9d0e5381d236d (patch) | |
tree | f5f02279bc2c81180ec930487b6ad6a9acfaf388 /git-init-db.html | |
parent | 05567435fe2d1f36c1904c0c02bc805e44fb800d (diff) | |
download | git-htmldocs-2b13527e6477916ed5cb6f1858d9d0e5381d236d.tar.gz |
Autogenerated HTML docs for v1.2.4-g5a1f
Diffstat (limited to 'git-init-db.html')
-rw-r--r-- | git-init-db.html | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/git-init-db.html b/git-init-db.html index 34249dbb0..1b4fb27e1 100644 --- a/git-init-db.html +++ b/git-init-db.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 7.0.1" />
+<meta name="generator" content="AsciiDoc 7.0.2" />
<style type="text/css">
/* Debug borders */
p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
@@ -282,7 +282,8 @@ git-init-db(1) Manual Page </dt>
<dd>
<p>
- Provide the directory in from which templates will be used.
+ Provide the directory from which templates will be used.
+ The default template directory is <tt>/usr/share/git-core/templates</tt>.
</p>
</dd>
<dt>
@@ -297,9 +298,16 @@ git-init-db(1) Manual Page </div>
<h2>DESCRIPTION</h2>
<div class="sectionbody">
-<p>This simply creates an empty git repository - basically a <tt>.git</tt> directory
-and <tt>.git/object/??/</tt>, <tt>.git/refs/heads</tt> and <tt>.git/refs/tags</tt> directories,
-and links <tt>.git/HEAD</tt> symbolically to <tt>.git/refs/heads/master</tt>.</p>
+<p>This command creates an empty git repository - basically a <tt>.git</tt> directory
+with subdirectories for <tt>objects</tt>, <tt>refs/heads</tt>, <tt>refs/tags</tt>, and
+templated files.
+An initial <tt>HEAD</tt> file that references the HEAD of the master branch
+is also created.</p>
+<p>If <tt>--template=<template_directory></tt> is specified, <tt><template_directory></tt>
+is used as the source of the template files rather than the default.
+The template files include some directory structure, some suggested
+"exclude patterns", and copies of non-executing "hook" files. The
+suggested patterns and hook files are all modifiable and extensible.</p>
<p>If the <tt>$GIT_DIR</tt> environment variable is set then it specifies a path
to use instead of <tt>./.git</tt> for the base of the repository.</p>
<p>If the object storage directory is specified via the <tt>$GIT_OBJECT_DIRECTORY</tt>
@@ -346,7 +354,7 @@ $ git-add . <b>(2)</b> </div>
<div id="footer">
<div id="footer-text">
-Last updated 06-Jan-2006 17:12:38 PDT
+Last updated 18-Mar-2006 07:45:35 UTC
</div>
</div>
</body>
|