Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/Documentation/config/init.adoc # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / Documentation / config / init.adoc` 33 lines ยท 1524 bytes Raw Blame History 1 :see-git-init: 2 ifndef::git-init[] 3 :see-git-init: (See the "TEMPLATE DIRECTORY" section of linkgit:git-init[1].) 4 endif::[] 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 29 init.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.