Skip to content

Commit

Permalink
Documentation: git-init: template directory: reword
Browse files Browse the repository at this point in the history
Signed-off-by: Linus Arver <linusarver@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Linus Arver authored and Junio C Hamano committed Aug 8, 2014
1 parent ddeab3a commit 86d387a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Documentation/git-init.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 86d387a

Please sign in to comment.