1
0
Fork 0
git/Documentation/config/init.txt
Daniel Baumann 54102a2c29
Adding upstream version 1:2.47.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-23 07:43:39 +02:00

20 lines
846 B
Text

:see-git-init:
ifndef::git-init[]
:see-git-init: (See the "TEMPLATE DIRECTORY" section of linkgit:git-init[1].)
endif::[]
`init.templateDir`::
Specify the directory from which templates will be copied. {see-git-init}
`init.defaultBranch`::
Allows overriding the default branch name e.g. when initializing
a new repository.
`init.defaultObjectFormat`::
Allows overriding the default object format for new repositories. See
`--object-format=` in linkgit:git-init[1]. Both the command line option
and the `GIT_DEFAULT_HASH` environment variable take precedence over
this config.
`init.defaultRefFormat`::
Allows overriding the default ref storage format for new repositories.
See `--ref-format=` in linkgit:git-init[1]. Both the command line
option and the `GIT_DEFAULT_REF_FORMAT` environment variable take
precedence over this config.