doc: git-init: format placeholders
With the new doc format conventions, we use _<placeholders>_. Signed-off-by: Jean-Noël Avila <jn.avila@free.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jean-Noël Avila committed
Mar 10, 2024 at 19:10 UTC
cb8ae0442a9fc9f0922fd9d48ba2ff8ba104812e
1 file changed
+5
-5
Documentation/git-init.txt
+5
-5
@@ -60,7 +60,7 @@ include::object-format-disclaimer.txt[]
60
61
--ref-format=<format>::
62
63
-Specify the given ref storage format for the repository. The valid values are:
63
+Specify the given ref storage _<format>_ for the repository. The valid values are:
64
+
65
include::ref-storage-format.txt[]
66
@@ -81,7 +81,7 @@ If this is a reinitialization, the repository will be moved to the specified pat
81
-b <branch-name>::
82
--initial-branch=<branch-name>::
83
84
-Use the specified name for the initial branch in the newly created
84
+Use _<branch-name>_ for the initial branch in the newly created
85
repository. If not specified, fall back to the default name (currently
86
`master`, but this is subject to change in the future; the name can be
87
customized via the `init.defaultBranch` configuration variable).
@@ -119,8 +119,8 @@ Same as `group`, but make the repository readable by all users.
119
120
'<perm>'::
121
122
-'<perm>' is a 3-digit octal number prefixed with `0` and each file
123
-will have mode '<perm>'. '<perm>' will override users'`umask(2)`
122
+_<perm>_ is a 3-digit octal number prefixed with `0` and each file
123
+will have mode _<perm>_. _<perm>_ will override users'`umask(2)`
124
value (and not only loosen permissions as `group` and `all`
125
do). `0640` will create a repository which is group-readable, but
126
not group-writable or accessible to others. `0660` will create a repo
@@ -133,7 +133,7 @@ By default, the configuration flag `receive.denyNonFastForwards` is enabled
133
in shared repositories, so that you cannot force a non fast-forwarding push
134
into it.
135
136
-If you provide a 'directory', the command is run inside it. If this directory
136
+If you provide a _<directory>_, the command is run inside it. If this directory
137
does not exist, it will be created.
138
139
TEMPLATE DIRECTORY