diff options
Diffstat (limited to 'man1/git-clone.1')
-rw-r--r-- | man1/git-clone.1 | 47 |
1 files changed, 44 insertions, 3 deletions
diff --git a/man1/git-clone.1 b/man1/git-clone.1 index 98c5b4b79..e93c9c080 100644 --- a/man1/git-clone.1 +++ b/man1/git-clone.1 @@ -2,12 +2,12 @@ .\" Title: git-clone .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 09/13/2022 +.\" Date: 09/14/2022 .\" Manual: Git Manual -.\" Source: Git 2.37.3.611.ge188ec3a73 +.\" Source: Git 2.37.3.662.g36f8e7ed7d .\" Language: English .\" -.TH "GIT\-CLONE" "1" "09/13/2022" "Git 2\&.37\&.3\&.611\&.ge188ec" "Git Manual" +.TH "GIT\-CLONE" "1" "09/14/2022" "Git 2\&.37\&.3\&.662\&.g36f8e7" "Git Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -695,6 +695,47 @@ $ git clone \-\-bare \-l /home/proj/\&.git /pub/scm/proj\&.git .\} .sp .RE +.SH "CONFIGURATION" +.sp +Everything below this line in this section is selectively included from the \fBgit-config\fR(1) documentation\&. The content is the same as what\(cqs found there: +.PP +init\&.templateDir +.RS 4 +Specify the directory from which templates will be copied\&. (See the "TEMPLATE DIRECTORY" section of +\fBgit-init\fR(1)\&.) +.RE +.PP +init\&.defaultBranch +.RS 4 +Allows overriding the default branch name e\&.g\&. when initializing a new repository\&. +.RE +.PP +clone\&.defaultRemoteName +.RS 4 +The name of the remote to create when cloning a repository\&. Defaults to +\fBorigin\fR, and can be overridden by passing the +\fB\-\-origin\fR +command\-line option to +\fBgit-clone\fR(1)\&. +.RE +.PP +clone\&.rejectShallow +.RS 4 +Reject to clone a repository if it is a shallow one, can be overridden by passing option +\fB\-\-reject\-shallow\fR +in command line\&. See +\fBgit-clone\fR(1) +.RE +.PP +clone\&.filterSubmodules +.RS 4 +If a partial clone filter is provided (see +\fB\-\-filter\fR +in +\fBgit-rev-list\fR(1)) and +\fB\-\-recurse\-submodules\fR +is used, also apply the filter to submodules\&. +.RE .SH "GIT" .sp Part of the \fBgit\fR(1) suite |