From: pggrd <git@paggard.com>
To: git@vger.kernel.org
Subject: Managing several threads of the same project in GIT
Date: Fri, 26 Dec 2008 11:20:57 +0000 (UTC) [thread overview]
Message-ID: <loom.20081226T110416-269@post.gmane.org> (raw)
Hello,
I've been studying GIT for some time already, but still have not figured out if
it can be used for the scenario like this:
for example:
I have a project, which divides to threads aiming to different clients
most of the code in the project is shared between the threads
in certain files there are different code parts to meet client requirements
but even those files share the rest of the code
What I need to be able to do is:
- to get code for any thread I like at any time
- to be able to develop each thread separately
- to be able to merge certain changes from one thread to another, at the same
time without loosing the changes specific to the thread, and keep track of merge
history
With GIT strategy to treat content as a single unity - if you will try to merge
branches - everything will be merged thus overwriting the changes that need to
stay. But in the example above, if I make a change in the shared code in one
thread, I need to be able to populate this change to all the threads, but this
change only.
so - is this possible in GIT and if yes - what kind of strategy should be used?
thanks
next reply other threads:[~2008-12-26 11:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-26 11:20 pggrd [this message]
2008-12-26 11:50 ` Managing several threads of the same project in GIT Santi Béjar
2008-12-26 12:35 ` Sitaram Chamarty
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=loom.20081226T110416-269@post.gmane.org \
--to=git@paggard.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