]> git.ipfire.org Git - thirdparty/git.git/blob - Documentation/config/clone.txt
Merge branch 'jc/unleak-core-excludesfile'
[thirdparty/git.git] / Documentation / config / clone.txt
1 `clone.defaultRemoteName`::
2 The name of the remote to create when cloning a repository. Defaults to
3 `origin`.
4 ifdef::git-clone[]
5 It can be overridden by passing the `--origin` command-line
6 option.
7 endif::[]
8 ifndef::git-clone[]
9 It can be overridden by passing the `--origin` command-line
10 option to linkgit:git-clone[1].
11 endif::[]
12
13 `clone.rejectShallow`::
14 Reject cloning a repository if it is a shallow one; this can be overridden by
15 passing the `--reject-shallow` option on the command line.
16 ifndef::git-clone[]
17 See linkgit:git-clone[1].
18 endif::[]
19
20 `clone.filterSubmodules`::
21 If a partial clone filter is provided (see `--filter` in
22 linkgit:git-rev-list[1]) and `--recurse-submodules` is used, also apply
23 the filter to submodules.