summaryrefslogtreecommitdiffstats
path: root/git-init.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-07-06 22:35:57 -0700
committerJunio C Hamano <gitster@pobox.com>2020-07-06 22:35:57 -0700
commita89117826695bd15a06ab893f088622d58d49b0f (patch)
tree70a28e4da17998aca0ba3e65532c146377dc655b /git-init.html
parentcb66540f7a8e62233e4f403871e927e8de01bb3f (diff)
downloadgit-htmldocs-a89117826695bd15a06ab893f088622d58d49b0f.tar.gz
Autogenerated HTML docs for v2.27.0-343-g4a0fcf
Diffstat (limited to 'git-init.html')
-rw-r--r--git-init.html17
1 files changed, 15 insertions, 2 deletions
diff --git a/git-init.html b/git-init.html
index 26e060443..21f8bae46 100644
--- a/git-init.html
+++ b/git-init.html
@@ -750,7 +750,8 @@ git-init(1) Manual Page
<div class="sectionbody">
<div class="verseblock">
<pre class="content"><em>git init</em> [-q | --quiet] [--bare] [--template=&lt;template_directory&gt;]
- [--separate-git-dir &lt;git dir&gt;] [--object-format=&lt;format]
+ [--separate-git-dir &lt;git dir&gt;] [--object-format=&lt;format&gt;]
+ [-b &lt;branch-name&gt; | --initial-branch=&lt;branch-name&gt;]
[--shared[=&lt;permissions&gt;]] [directory]</pre>
<div class="attribution">
</div></div>
@@ -830,6 +831,18 @@ repository.
<div class="paragraph"><p>If this is reinitialization, the repository will be moved to the specified path.</p></div>
</dd>
<dt class="hdlist1">
+-b &lt;branch-name
+</dt>
+<dt class="hdlist1">
+--initial-branch=&lt;branch-name&gt;
+</dt>
+<dd>
+<p>
+Use the specified name for the initial branch in the newly created repository.
+If not specified, fall back to the default name: <code>master</code>.
+</p>
+</dd>
+<dt class="hdlist1">
--shared[=(false|true|umask|group|all|world|everybody|0xxx)]
</dt>
<dd>
@@ -981,7 +994,7 @@ Record the pristine state as the first commit in the history.
<div id="footer">
<div id="footer-text">
Last updated
- 2020-03-26 18:10:39 PDT
+ 2020-07-06 22:33:22 PDT
</div>
</div>
</body>