зеркало из https://github.com/microsoft/git.git
Documentation: git-init: typographical fixes
Use backticks when we quote something that the user should literally use. Signed-off-by: Linus Arver <linusarver@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
7b69fcb181
Коммит
6e1ccacbed
|
@ -43,7 +43,7 @@ OPTIONS
|
|||
-q::
|
||||
--quiet::
|
||||
|
||||
Only print error and warning messages, all other output will be suppressed.
|
||||
Only print error and warning messages; all other output will be suppressed.
|
||||
|
||||
--bare::
|
||||
|
||||
|
@ -97,7 +97,7 @@ is given:
|
|||
create a repo that is readable and writable to the current user and group,
|
||||
but inaccessible to others.
|
||||
|
||||
By default, the configuration flag receive.denyNonFastForwards is enabled
|
||||
By default, the configuration flag `receive.denyNonFastForwards` is enabled
|
||||
in shared repositories, so that you cannot force a non fast-forwarding push
|
||||
into it.
|
||||
|
||||
|
@ -106,14 +106,13 @@ line, the command is run inside the directory (possibly after creating it).
|
|||
|
||||
--
|
||||
|
||||
|
||||
TEMPLATE DIRECTORY
|
||||
------------------
|
||||
|
||||
The template directory contains files and directories that will be copied to
|
||||
the `$GIT_DIR` after it is created.
|
||||
|
||||
The template directory used will (in order):
|
||||
The template directory used will be (in order):
|
||||
|
||||
- The argument given with the `--template` option.
|
||||
|
||||
|
@ -138,8 +137,8 @@ $ git init <1>
|
|||
$ git add . <2>
|
||||
----------------
|
||||
+
|
||||
<1> prepare /path/to/my/codebase/.git directory
|
||||
<2> add all existing file to the index
|
||||
<1> Create a /path/to/my/codebase/.git directory.
|
||||
<2> Add all existing files to the index.
|
||||
|
||||
GIT
|
||||
---
|
||||
|
|
Загрузка…
Ссылка в новой задаче