diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-07-06 22:35:57 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-07-06 22:35:57 -0700 |
commit | a89117826695bd15a06ab893f088622d58d49b0f (patch) | |
tree | 70a28e4da17998aca0ba3e65532c146377dc655b /git-init.html | |
parent | cb66540f7a8e62233e4f403871e927e8de01bb3f (diff) | |
download | git-htmldocs-a89117826695bd15a06ab893f088622d58d49b0f.tar.gz |
Autogenerated HTML docs for v2.27.0-343-g4a0fcf
Diffstat (limited to 'git-init.html')
-rw-r--r-- | git-init.html | 17 |
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=<template_directory>]
- [--separate-git-dir <git dir>] [--object-format=<format]
+ [--separate-git-dir <git dir>] [--object-format=<format>]
+ [-b <branch-name> | --initial-branch=<branch-name>]
[--shared[=<permissions>]] [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 <branch-name
+</dt>
+<dt class="hdlist1">
+--initial-branch=<branch-name>
+</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>
|