From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: CPD <cdavidson@altsoftware.com>
Cc: git@vger.kernel.org
Subject: Re: Can you do this with GIT?
Date: Fri, 27 Jul 2007 20:05:46 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0707272002250.14781@racer.site> (raw)
In-Reply-To: <11834063.post@talk.nabble.com>
Hi,
On Fri, 27 Jul 2007, CPD wrote:
> I hope this is the right forum, it's all I could find. Sincere apologies
> in advance if I in the wrong place.
You might be interested in http://git.or.cz: there is a lot of useful
information to find; amongst others what is the right forum...
So yes, this is the right forum.
> I set up a source control system for the company around CVS, but GIT has
> some very attractive features and I'd like to migrate if it can do some
> other things that we need.
>
> We produce variations based on a (mostly) common codebase. In CVS I set
> up "environment" modules for each platform, then when you are working on
> that platform, you simply check out the correct environment and build.
> Only the needed code and tools are exposed in that environment (this is
> important as clients must NOT see each other's code and most customers
> have some customization). I do this by defining and renaming modules in
> the CVSROOT modules file.
I would use branches for that. A base branch with the common code, and
the customisations in all the branches, which merge from the base branch.
If you have an interesting change in a custom branch, you can percolate
that back into the base branch, by checking out that base branch and
cherry-picking the commit you want to have.
Of course, you can automate this merging (or even rebasing, if you are
interested in keeping your customisations nice and tidy) with a script.
With a git alias even.
Hth,
Dscho
next prev parent reply other threads:[~2007-07-27 19:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-27 18:02 Can you do this with GIT? CPD
2007-07-27 19:05 ` Johannes Schindelin [this message]
2007-07-27 19:45 ` Ray Lehtiniemi
2007-07-27 19:49 ` Johannes Schindelin
2007-07-27 20:08 ` Ray Lehtiniemi
2007-07-27 19:45 ` Linus Torvalds
2007-07-27 19:52 ` Ray Lehtiniemi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0707272002250.14781@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=cdavidson@altsoftware.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).