interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / Documentation / config / init.adoc

33 lines · 1524 bytes Raw Blame History
1:see-git-init:
2ifndef::git-init[]
3:see-git-init: (See the "TEMPLATE DIRECTORY" section of linkgit:git-init[1].)
4endif::[]
5
6`init.templateDir`::
7 Specify the directory from which templates will be copied. {see-git-init}
8`init.defaultBranch`::
9 Allows overriding the default branch name e.g. when initializing
10 a new repository.
11`init.defaultObjectFormat`::
12 Allows overriding the default object format for new repositories. See
13 `--object-format=` in linkgit:git-init[1]. Both the command line option
14 and the `GIT_DEFAULT_HASH` environment variable take precedence over
15 this config.
16`init.defaultRefStorageFormat`::
17 Allows overriding the default ref storage format for new repositories.
18 See `--ref-storage-format=` in linkgit:git-init[1]. Both the command line
19 option and the `GIT_DEFAULT_REF_STORAGE_FORMAT` environment variable take
20 precedence over this config.
21`init.defaultRefFormat`::
22 Deprecated alias of `init.defaultRefStorageFormat`.
23`init.defaultObjectStorageFormat`::
24 Allows overriding the default object storage format for new
25 repositories. See `--object-storage-format=` in linkgit:git-init[1].
26 Both the command line option and the `GIT_DEFAULT_OBJECT_STORAGE_FORMAT`
27 environment variable take precedence over this config.
28
29init.defaultSubmodulePathConfig::
30 A boolean that specifies if `git init` and `git clone` should
31 automatically set `extensions.submodulePathConfig` to `true`. This
32 allows all new repositories to automatically use the submodule path
33 extension. Defaults to `false` when unset.