git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: cloning a complete repository with cogito

From
Petr Baudis <pasky@ucw.cz>
Date
Jun 19, 2005, 22:39 UTC
Message-ID
<20050619223945.GH32520@pasky.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...

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..
Previous: Sven Verdoolaege
Message 2 of 2 in “cloning a complete repository with cogito”
  1. Sven VerdoolaegeJun 19, 2005
  2. Petr BaudisJun 19, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.