<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-clone.txt, branch v1.2.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2006-01-25T07:17:06Z</updated>
<entry>
<title>clone: do not create remotes/origin nor origin branch in a bare repository.</title>
<updated>2006-01-25T07:17:06Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-23T01:27:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4fb66a62eeb7bfec115cd0058d7a05ab62fc23e7'/>
<id>urn:sha1:4fb66a62eeb7bfec115cd0058d7a05ab62fc23e7</id>
<content type='text'>
It is simply pointless, since no merges will ever happen in such
a repository.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-clone: PG13 --naked option to --bare.</title>
<updated>2006-01-25T07:17:06Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-23T01:24:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=87e80c4b5fec421ecd566498b7dd4672f76fdca2'/>
<id>urn:sha1:87e80c4b5fec421ecd566498b7dd4672f76fdca2</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>clone: --naked option.</title>
<updated>2006-01-15T00:00:32Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-15T00:00:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8a1a120c55a67c3193e136a06826585711717399'/>
<id>urn:sha1:8a1a120c55a67c3193e136a06826585711717399</id>
<content type='text'>
The new option --naked is to help creating a naked repository
for public consumption.

	$ git clone -l -s --naked \
	  /pub/scm/.../torvalds/linux-2.6.git subproj-2.6.git

is equivalent to this sequence:

	$ git clone -l -s -n /pub/scm/.../torvalds/linux-2.6.git temp
	$ mv temp/.git subproj-2.6.git
	$ rmdir temp

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Merge fixes up to GIT 1.0.7</title>
<updated>2006-01-06T04:54:42Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-06T04:54:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5df466c507ee2dd81c2e9002c3fedf3536cde0dc'/>
<id>urn:sha1:5df466c507ee2dd81c2e9002c3fedf3536cde0dc</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Wrap synopsis lines and use [verse] to keep formatting</title>
<updated>2006-01-06T02:44:28Z</updated>
<author>
<name>Jonas Fonseca</name>
<email>fonseca@diku.dk</email>
</author>
<published>2005-12-31T17:37:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=353ce81597e831969ac37d6991346f8c39c1488e'/>
<id>urn:sha1:353ce81597e831969ac37d6991346f8c39c1488e</id>
<content type='text'>
In addition, also fixes a few synopses to be more consistent and a gitlink.

Signed-off-by: Jonas Fonseca &lt;fonseca@diku.dk&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-clone: Support changing the origin branch with -o</title>
<updated>2005-12-23T00:35:37Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-12-22T22:37:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e6c310fd0d7384973efc6b1d5999a5e8a5b2f3bd'/>
<id>urn:sha1:e6c310fd0d7384973efc6b1d5999a5e8a5b2f3bd</id>
<content type='text'>
Earlier, git-clone stored upstream's master in the branch named 'origin',
possibly overwriting an existing such branch.

Now you can change it by calling git-clone with '-o &lt;other_name&gt;'.

[jc: added ref format check, subdirectory safety, documentation
 and usage string.]

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Documentation: more examples.</title>
<updated>2005-12-13T07:24:06Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-13T07:24:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1e2ccd3abc8f5d96244806f753568493c3e77d4c'/>
<id>urn:sha1:1e2ccd3abc8f5d96244806f753568493c3e77d4c</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-clone: Keep remote names when cloning unless explicitly told not to.</title>
<updated>2005-11-11T09:34:26Z</updated>
<author>
<name>Andreas Ericsson</name>
<email>exon@op5.se</email>
</author>
<published>2005-11-10T11:58:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0879aa28708dcdfa255fff631781e5178755498e'/>
<id>urn:sha1:0879aa28708dcdfa255fff631781e5178755498e</id>
<content type='text'>
With this patch the following commands all clone into the local directory
"repo". If repo exists, it will still barf.

	git-clone git://host.xz/repo.git
	git-clone /path/to/repo/.git
	git-clone host.xz:repo.git

I ended up doing the same source-to-target sed'ing for all our company
projects, so it was easier to add it directly to git-clone.

Signed-off-by: Andreas Ericsson &lt;ae@op5.se&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Set up remotes/origin to track all remote branches.</title>
<updated>2005-11-07T02:17:14Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-06T08:52:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=95d117b6051c01726b67d3151f83e47dd41c0743'/>
<id>urn:sha1:95d117b6051c01726b67d3151f83e47dd41c0743</id>
<content type='text'>
This implements the idea Daniel Barkalow came up with, to match
the remotes/origin created by clone by default to the workflow I
use myself in my guinea pig repository, to have me eat my own
dog food.

We probably would want to use either .git/refs/local/heads/*
(idea by Linus) or .git/refs/heads/origin/* instead to reduce
the local ref namespace pollution.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Documentation: pull/clone ref mapping clarification.</title>
<updated>2005-11-06T08:26:21Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-06T06:26:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4607166d0735d13e0ee4ffe8df0c2fc899957852'/>
<id>urn:sha1:4607166d0735d13e0ee4ffe8df0c2fc899957852</id>
<content type='text'>
Josef Weidendorfer points out that git-clone documentation does not
mention the initial copying of remote branch heads into corresponding
local branches.  Also clarify the purpose of the ref mappings description
in the "remotes" file and recommended workflow.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
