threads / discuss / 975

cloning a complete repository with cogito

Subject: cloning a complete repository with cogito

## tl;dr

2 messages between Jun 19, 2005 and Jun 19, 2005.

replies: 1people: 2as markdown or json

Sven Verdoolaege· Jun 19, 2005, 15:42 UTC · lore
How can I clone a complete repository with cogito ?

cg-clone will only pull in everything from the master branch. Then it pulls in the objects pointed to by tags, which may live on other brachnes, resulting in a repository that is not git-fsck-clean.

I'd like to be able to clone the whole thing or even particular branches, different from master.

Think of a repository converted from cvs.
skimo
Petr Baudis· Jun 19, 2005, 22:39 UTC · re: Sven Verdoolaege · lore

Re: cloning a complete repository with cogito

Dear diary, on Sun, Jun 19, 2005 at 05:42:50PM CEST, I got a letter where Sven Verdoolaege <skimo@kotnet.org> told me that...

Show 11 quoted lines
> How can I clone a complete repository with cogito ?
> 
> cg-clone will only pull in everything from the master branch.
> Then it pulls in the objects pointed to by tags, which
> may live on other brachnes, resulting in a repository
> that is not git-fsck-clean.
> 
> I'd like to be able to clone the whole thing or even
> particular branches, different from master.
> 
> Think of a repository converted from cvs.

Well, pulling a specific branch can be done by appending #branchname to the URL. If you use rsync:// URL, it will pull everything, too. Pulling everything referenced by refs/ might be a nice thing, yes. ;-)

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
<Espy> be careful, some twit might quote you out of context..

← back to recent threads