]>
Commit | Line | Data |
---|---|---|
76880f05 | 1 | `clone.defaultRemoteName`:: |
de9ed3ef | 2 | The name of the remote to create when cloning a repository. Defaults to |
ebb55042 JNA |
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 | |
de9ed3ef | 10 | option to linkgit:git-clone[1]. |
ebb55042 | 11 | endif::[] |
4fe788b1 | 12 | |
76880f05 | 13 | `clone.rejectShallow`:: |
5676b04a | 14 | Reject cloning a repository if it is a shallow one; this can be overridden by |
ebb55042 JNA |
15 | passing the `--reject-shallow` option on the command line. |
16 | ifndef::git-clone[] | |
17 | See linkgit:git-clone[1]. | |
18 | endif::[] | |
f05da2b4 | 19 | |
76880f05 | 20 | `clone.filterSubmodules`:: |
f05da2b4 JS |
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. |