Skip to content

Commit cb8ae04

Browse files
jnavilagitster
authored andcommitted
doc: git-init: format placeholders
With the new doc format conventions, we use _<placeholders>_. Signed-off-by: Jean-Noël Avila <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 2261d81 commit cb8ae04

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Documentation/git-init.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ include::object-format-disclaimer.txt[]
6060

6161
--ref-format=<format>::
6262

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:
6464
+
6565
include::ref-storage-format.txt[]
6666

@@ -81,7 +81,7 @@ If this is a reinitialization, the repository will be moved to the specified pat
8181
-b <branch-name>::
8282
--initial-branch=<branch-name>::
8383

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
8585
repository. If not specified, fall back to the default name (currently
8686
`master`, but this is subject to change in the future; the name can be
8787
customized via the `init.defaultBranch` configuration variable).
@@ -119,8 +119,8 @@ Same as `group`, but make the repository readable by all users.
119119

120120
'<perm>'::
121121

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)`
124124
value (and not only loosen permissions as `group` and `all`
125125
do). `0640` will create a repository which is group-readable, but
126126
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
133133
in shared repositories, so that you cannot force a non fast-forwarding push
134134
into it.
135135

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
137137
does not exist, it will be created.
138138

139139
TEMPLATE DIRECTORY

0 commit comments

Comments
 (0)