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

Re: Looking for SCM that lets me publish part of a repository

From
Sam Vilain <sam@vilain.net>
Date
Mar 6, 2006, 20:58 UTC
Message-ID
<440CA280.6000304@vilain.net>
In-Reply-To
<1141608679.16980.12.camel@mattlaptop>
Matt McCutchen wrote:
Show 13 quoted lines
>Dear GIT people,
>
>For the last week or so, I have been looking for a SCM system to hold
>many of my projects, some of which are available to the public and
>others of which are not.  It would be nice if I could use a single large
>private repository on my computer with each project in a separate
>folder.  Then I would like to pull some of the projects (but not all)
>into a world-readable repository on my Web site.  I have looked at
>several SCMs and have not found a way to make any of them do this, but I
>like GIT best on other grounds.  Is there a way I can coerce GIT to
>clone and pull one folder out of a repository but ignore the rest?
>  
>

SVK works like this, you get one (by default) repository in your ~ which you then mirror published projects to, and it tracks local changes as a branch which you can then commit back 'upstream' (or to your published repository) with.

Jeff King also recently posted a script to extract out a part of a repository into another one, which is a related concept.

Sam.
Previous: Alan Chandler
Message 4 of 4 in “Looking for SCM that lets me publish part of a repository”
  1. Matt McCutchenMar 6, 2006
  2. Shawn PearceMar 6, 2006
  3. Alan ChandlerMar 6, 2006
  4. Sam VilainMar 6, 2006

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.