Documentation: git-init: template directory: reword

Signed-off-by: Linus Arver <linusarver@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Linus Arver 2014-08-08 10:29:16 -07:00 committed by Junio C Hamano
parent ddeab3aea3
commit 86d387af37

View File

@ -119,15 +119,15 @@ 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 be (in order):
The template directory will be one of the following (in order):
- The argument given with the `--template` option.
- the argument given with the `--template` option;
- The contents of the `$GIT_TEMPLATE_DIR` environment variable.
- the contents of the `$GIT_TEMPLATE_DIR` environment variable;
- The `init.templatedir` configuration variable.
- the `init.templatedir` configuration variable; or
- The default template directory: `/usr/share/git-core/templates`.
- the default template directory: `/usr/share/git-core/templates`.
The default template directory includes some directory structure, some
suggested "exclude patterns", and copies of sample "hook" files.