<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-clone.txt, branch v2.7.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.7.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.7.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2016-02-05T22:54:22Z</updated>
<entry>
<title>Merge branch 'ss/clone-depth-single-doc' into maint</title>
<updated>2016-02-05T22:54:22Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-02-05T22:54:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2db7d79be95aae1a3fe1832bc4c8b473adc2b973'/>
<id>urn:sha1:2db7d79be95aae1a3fe1832bc4c8b473adc2b973</id>
<content type='text'>
Documentation for "git fetch --depth" has been updated for clarity.

* ss/clone-depth-single-doc:
  docs: clarify that --depth for git-fetch works with newly initialized repos
  docs: say "commits" in the --depth option wording for git-clone
  docs: clarify that passing --depth to git-clone implies --single-branch
</content>
</entry>
<entry>
<title>docs: say "commits" in the --depth option wording for git-clone</title>
<updated>2016-01-08T20:39:58Z</updated>
<author>
<name>Sebastian Schuberth</name>
<email>sschuberth@gmail.com</email>
</author>
<published>2016-01-08T09:18:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fc142811d14d3acb64d1c2057a774fa1573e60cb'/>
<id>urn:sha1:fc142811d14d3acb64d1c2057a774fa1573e60cb</id>
<content type='text'>
It is not wrong to talk about "revisions" here, but in this context
revisions are always commits, and that is how we already name it in the
git-fetch docs. So align the docs by always referring to "commits".

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>docs: clarify that passing --depth to git-clone implies --single-branch</title>
<updated>2016-01-07T19:45:19Z</updated>
<author>
<name>Sebastian Schuberth</name>
<email>sschuberth@gmail.com</email>
</author>
<published>2016-01-06T13:06:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=28a1b56932c222b326e4ac0cd480d4e0be72fb1c'/>
<id>urn:sha1:28a1b56932c222b326e4ac0cd480d4e0be72fb1c</id>
<content type='text'>
It is confusing to document how --depth behaves as part of the
--single-branch docs. Better move that part to the --depth docs, saying
that it implies --single-branch by default.

Signed-off-by: Sebastian Schuberth &lt;sschuberth@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>clone: allow "--dissociate" without reference</title>
<updated>2015-10-22T19:13:29Z</updated>
<author>
<name>Alex Riesen</name>
<email>raa.lkml@gmail.com</email>
</author>
<published>2015-10-22T16:41:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0181681e921fa4e001a51886749ee0584233db51'/>
<id>urn:sha1:0181681e921fa4e001a51886749ee0584233db51</id>
<content type='text'>
The "--reference" option is not the only way to provide a repository
to borrow objects from.  A repository that borrows from another
repository can be cloned with "clone --local" and the resulting
repository will borrow from the same repository, which the user
may want to "--dissociate" from.

Signed-off-by: Alex Riesen &lt;raa.lkml@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>clone: --dissociate option to mark that reference is only temporary</title>
<updated>2014-10-15T21:34:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-10-14T19:38:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fb1d6dabce69bce3f28a7f442da990ef8df872ac'/>
<id>urn:sha1:fb1d6dabce69bce3f28a7f442da990ef8df872ac</id>
<content type='text'>
While use of the --reference option to borrow objects from an
existing local repository of the same project is an effective way to
reduce traffic when cloning a project over the network, it makes the
resulting "borrowing" repository dependent on the "borrowed"
repository.  After running

	git clone --reference=P $URL Q

the resulting repository Q will be broken if the borrowed repository
P disappears.

The way to allow the borrowed repository to be removed is to repack
the borrowing repository (i.e. run "git repack -a -d" in Q); while
power users may know it very well, it is not easily discoverable.

Teach a new "--dissociate" option to "git clone" to run this
repacking for the user.

Helped-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>docs/git-clone: clarify use of --no-hardlinks option</title>
<updated>2014-02-11T19:03:07Z</updated>
<author>
<name>Albert L. Lash, IV</name>
<email>alash3@bloomberg.net</email>
</author>
<published>2014-02-08T20:41:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=897e3e454062d2bb9d3c1e4068caf4971fd713ff'/>
<id>urn:sha1:897e3e454062d2bb9d3c1e4068caf4971fd713ff</id>
<content type='text'>
Current text claims optimization, implying the use of
hardlinks, when this option ratchets down the level of
efficiency. This change explains the difference made by
using this option, namely copying instead of hardlinking,
and why it may be useful.

Signed-off-by: Albert L. Lash, IV &lt;alash3@bloomberg.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ow/manpages-typofix'</title>
<updated>2014-02-07T19:55:12Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-02-07T19:55:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=efe5f1d25d198ae8796b6f095c2cffae270bb9b6'/>
<id>urn:sha1:efe5f1d25d198ae8796b6f095c2cffae270bb9b6</id>
<content type='text'>
Various typofixes, all looked correct.

* ow/manpages-typofix:
  Documentation: fix typos in man pages
</content>
</entry>
<entry>
<title>Documentation: fix typos in man pages</title>
<updated>2014-02-05T22:35:45Z</updated>
<author>
<name>Øystein Walle</name>
<email>oystwa@gmail.com</email>
</author>
<published>2014-02-05T22:19:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5fe8f49b6d59cf143a5898ddbb161444a95fa871'/>
<id>urn:sha1:5fe8f49b6d59cf143a5898ddbb161444a95fa871</id>
<content type='text'>
Signed-off-by: Øystein Walle &lt;oystwa@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-clone.txt: remove shallow clone limitations</title>
<updated>2013-12-11T00:14:19Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2013-12-05T13:02:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=82fba2b9d39163a0c9b7a3a2f35964cbc039e1aa'/>
<id>urn:sha1:82fba2b9d39163a0c9b7a3a2f35964cbc039e1aa</id>
<content type='text'>
Now that git supports data transfer from or to a shallow clone, these
limitations are not true anymore.

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>Revert "git-clone.txt: remove the restriction on pushing from a shallow clone"</title>
<updated>2013-07-15T15:35:32Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-07-15T15:31:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5333f2afc4f5c6365845b25ffc22a91379b84c58'/>
<id>urn:sha1:5333f2afc4f5c6365845b25ffc22a91379b84c58</id>
<content type='text'>
This reverts commit dacd2bcc414e0b7aac36aaa400da0a743c4741cc.

"It fails reliably without corrupting the receiving repository when
it should fail" may be better than the situation before the receiving
end was hardened recently, but the fact that sometimes the push does
not go through still remains.  It is better to advice the users that
they cannot push from a shallow repository as a limitation before
they decide to use (or not to use) a shallow clone.

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