<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-clone.txt, branch v2.23.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.23.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.23.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2019-07-11T22:16:48Z</updated>
<entry>
<title>Merge branch 'qn/clone-doc-use-long-form'</title>
<updated>2019-07-11T22:16:48Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-07-11T22:16:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4ad01a4c9fa42d389dc3da7c17adaf334735a3a8'/>
<id>urn:sha1:4ad01a4c9fa42d389dc3da7c17adaf334735a3a8</id>
<content type='text'>
The "git clone" documentation refers to command line options in its
description in the short form; they have been replaced with long
forms to make them more recognisable.

* qn/clone-doc-use-long-form:
  docs: git-clone: list short form of options first
  docs: git-clone: refer to long form of options
</content>
</entry>
<entry>
<title>docs: git-clone: list short form of options first</title>
<updated>2019-07-02T19:11:40Z</updated>
<author>
<name>Quentin Nerden</name>
<email>quentin.nerden@intel.com</email>
</author>
<published>2019-07-02T14:37:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bfc8c84ed560af8f74be32fa0fd2568e28161678'/>
<id>urn:sha1:bfc8c84ed560af8f74be32fa0fd2568e28161678</id>
<content type='text'>
List the short form of options (e.g.: '-l') before the long form (e.g.
'--local').
This is to match the doc of git-add, git-commit, git-clean, git-branch...

Signed-off-by: Quentin Nerden &lt;quentin.nerden@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>docs: git-clone: refer to long form of options</title>
<updated>2019-07-02T19:11:38Z</updated>
<author>
<name>Quentin Nerden</name>
<email>quentin.nerden@intel.com</email>
</author>
<published>2019-07-02T14:37:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3711d1cd8984d69b61b3a3626aa88ba52fa32d48'/>
<id>urn:sha1:3711d1cd8984d69b61b3a3626aa88ba52fa32d48</id>
<content type='text'>
To make the doc of git-clone easier to read,
refer to the long form of the options
(it is easier to guess what '--verbose' is doing than '-v').

Signed-off-by: Quentin Nerden &lt;quentin.nerden@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>clone: add `--remote-submodules` flag</title>
<updated>2019-05-28T16:22:02Z</updated>
<author>
<name>Ben Avison</name>
<email>bavison@riscosopen.org</email>
</author>
<published>2019-05-19T14:26:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4c6910163ab59f334becca39f5a83d3b7a622df4'/>
<id>urn:sha1:4c6910163ab59f334becca39f5a83d3b7a622df4</id>
<content type='text'>
When using `git clone --recurse-submodules` there was previously no way to
pass a `--remote` switch to the implicit `git submodule update` command for
any use case where you want the submodules to be checked out on their
remote-tracking branch rather than with the SHA-1 recorded in the superproject.

This patch rectifies this situation. It actually passes `--no-fetch` to
`git submodule update` as well on the grounds they the submodule has only just
been cloned, so fetching from the remote again only serves to slow things down.

Signed-off-by: Ben Avison &lt;bavison@riscosopen.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>clone: send server options when using protocol v2</title>
<updated>2019-04-18T01:53:51Z</updated>
<author>
<name>Jonathan Tan</name>
<email>jonathantanmy@google.com</email>
</author>
<published>2019-04-12T19:51:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6e98305985555ced61971ca0170dd976554193c0'/>
<id>urn:sha1:6e98305985555ced61971ca0170dd976554193c0</id>
<content type='text'>
Commit 5e3548ef16 ("fetch: send server options when using protocol v2",
2018-04-24) taught "fetch" the ability to send server options when using
protocol v2, but not "clone". This ability is triggered by "-o" or
"--server-option".

Teach "clone" the same ability, except that because "clone" already
has "-o" for another parameter, teach "clone" only to receive
"--server-option".

Explain in the documentation, both for clone and for fetch, that server
handling of server options are server-specific. This is similar to
receive-pack's handling of push options - currently, they are just sent
to hooks to interpret as they see fit.

Signed-off-by: Jonathan Tan &lt;jonathantanmy@google.com&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation/clone: document ignored configuration variables</title>
<updated>2018-11-16T04:15:21Z</updated>
<author>
<name>SZEDER Gábor</name>
<email>szeder.dev@gmail.com</email>
</author>
<published>2018-11-14T10:46:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7eae4a3ac4084e6f01bbab2847a399ea5677a099'/>
<id>urn:sha1:7eae4a3ac4084e6f01bbab2847a399ea5677a099</id>
<content type='text'>
Due to limitations in the current implementation, some configuration
variables specified via 'git clone -c var=val' (or 'git -c var=val
clone') are ignored during the initial fetch and checkout.

Let the users know which configuration variables are known to be
ignored ('remote.origin.mirror' and 'remote.origin.tagOpt') under the
documentation of 'git clone -c', along with hints to use the options
'--mirror' and '--no-tags' instead.

Signed-off-by: SZEDER Gábor &lt;szeder.dev@gmail.com&gt;
Reviewed-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'nd/doc-header'</title>
<updated>2018-05-23T05:38:22Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-05-23T05:38:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6b0f1d9c475038a54343c007193f1c81ae82b959'/>
<id>urn:sha1:6b0f1d9c475038a54343c007193f1c81ae82b959</id>
<content type='text'>
Doc formatting fix.

* nd/doc-header:
  doc: keep first level section header in upper case
</content>
</entry>
<entry>
<title>doc: keep first level section header in upper case</title>
<updated>2018-05-02T08:03:33Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2018-04-30T15:35:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=76a8788c141e9d4e2713acaa7886475fb6b27ca5'/>
<id>urn:sha1:76a8788c141e9d4e2713acaa7886475fb6b27ca5</id>
<content type='text'>
When formatted as a man page, 1st section header is always in upper
case even if we write it otherwise. Make all 1st section headers
uppercase to keep it close to the final output.

This does affect html since case is kept there, but I still think it's
a good idea to maintain a consistent style for 1st section headers.

Some sections perhaps should become second sections instead, where
case is kept, and for better organization. I will update if anyone has
suggestions about this.

While at there I also make some header more consistent (e.g. examples
vs example) and fix a couple minor things here and there.

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc/clone: update caption for GIT URLS cross-reference</title>
<updated>2018-04-19T23:23:56Z</updated>
<author>
<name>Todd Zullinger</name>
<email>tmz@pobox.com</email>
</author>
<published>2018-04-19T17:32:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=73364e4f109061fa686eb408c70615ca1941129a'/>
<id>urn:sha1:73364e4f109061fa686eb408c70615ca1941129a</id>
<content type='text'>
The description of the &lt;repository&gt; argument directs readers to "See the
URLS section below".  When generating HTML this becomes a link to the
"GIT URLS" section.  When reading the man page in a terminal, the
caption is slightly misleading.  Use "GIT URLS" as the caption to avoid
any confusion.

Signed-off-by: Todd Zullinger &lt;tmz@pobox.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation/git-clone: improve description for submodule recursing</title>
<updated>2017-12-05T19:30:38Z</updated>
<author>
<name>Stefan Beller</name>
<email>sbeller@google.com</email>
</author>
<published>2017-12-05T02:53:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bc29b0b9710322ea966a685903e4334a61931fc5'/>
<id>urn:sha1:bc29b0b9710322ea966a685903e4334a61931fc5</id>
<content type='text'>
There have been a few complaints on the mailing list that git-clone doesn't
respect the `submodule.recurse` setting, which every other command (that
potentially knows how to deal with submodules) respects.  In case of clone
this is not beneficial to respect as the user may not want to obtain all
submodules (assuming a pathspec of '.').

Improve the documentation such that the pathspec is mentioned in the
synopsis to alleviate the confusion around the submodule recursion flag
in git-clone.

While at it clarify that the option can be given multiple times for complex
pathspecs.

Signed-off-by: Stefan Beller &lt;sbeller@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
