# cloning a complete repository with cogito

2 messages from 2005-06-19 to 2005-06-19. Participants: Sven Verdoolaege, Petr Baudis.
Thread: https://gitlist.dev/t/975

## Sven Verdoolaege, 2005-06-19 15:42

Subject: cloning a complete repository with cogito
Message-ID: <20050619154249.GB5992MdfPADPa@garage.linux.student.kuleuven.ac.be>
URL: https://gitlist.dev/e/20050619154249.GB5992MdfPADPa%40garage.linux.student.kuleuven.ac.be

```
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, 2005-06-19 22:39

Subject: Re: cloning a complete repository with cogito
Message-ID: <20050619223945.GH32520@pasky.ji.cz>
URL: https://gitlist.dev/e/20050619223945.GH32520%40pasky.ji.cz
In-Reply-To: <20050619154249.GB5992MdfPADPa@garage.linux.student.kuleuven.ac.be>

```
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...
> 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..

```
