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

Re: Only the config file changes ...

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Mar 2, 2010, 14:46 UTC
Message-ID
<4B8D24DB.3080007@drmicha.warpmail.net>
In-Reply-To
<1463530E-F729-46CA-881D-A89E6CF89241@me.com>
Jez Caudle venit, vidit, dixit 02.03.2010 14:26:
> Sounds good.
> 
> The only problem being I find a bug in version C. I fix it in version
> C,
Don't do that :)
> now I want to merge that change back to the master and then out to
> A,B and then D.
> 

If you've done that anyways, you can still cherry-pick that change onto master, or merge --no-commit and checkout --ours what you don't want merged.

Show 8 quoted lines
> 
> I'm still reading my Git book but I'm thinking of doing it this way:
> 
> Master has it's own repository. Each version has it's own repository
> that is created by cloning the Master and then removing all the files
> that are not specific removed from the repository. When changes are
> made to the master then simply copy all the non-specific files to
> each of the versions.

I don't think you need to remove any files - you do need them for testing, don't you? It's just that you don't want to modify them in your "specific" client repos.

Michael
Previous: Jez Caudle
Message 4 of 4 in “Only the config file changes ...”
  1. Jez CaudleMar 2, 2010
  2. Michael J GruberMar 2, 2010
  3. Jez CaudleMar 2, 2010
  4. Michael J GruberMar 2, 2010

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.