Ok, I've been piddling around a bit and think I've got it. If any of
this seems crazy then please point it out. I'm keeping two separate
editions using branching like so:

git branch doctors_edition

git branch lawyers_edition

If I need to make a change to a file which is common to both branches
I just do this:

git checkout master

[do my edits and commit the changes to the master branch...]

git checkout doctors_edition

git merge master

git checkout lawyers_edition

git merge master

These merge commands bring the changes common to both editions into
the edition branches themselves.

Again, if any of this is crazy or there is a more efficient way to do
this - please give me a shout...

Thx

On Nov 9, 4:54 pm, Taurus <[email protected]> wrote:
> Forgot to start with what I think I should do:
>
> git branch doctors_edition
>
> git branch lawyers_edition
>
> Perhaps it's as simple as that?
>
> On Nov 9, 4:09 pm, Taurus <[email protected]> wrote:
>
> > Git/Github noob here with a what I hope is a quick question. I've read
> > through some of the docs and checked out some screencasts and I'm
> > still not sure on exactly how to pull off what I need to do.  I have
> > an app which I need to split into two separate 'editions'. For example
> > my app is a billing app and I need one edition for doctors and one for
> > lawyers. They both share a large amount of code but there are key
> > differences which necessitate separating them. Assuming I'm starting
> > with the 'base edition' in a git repo, how do I accomplish the above?
>
> > Thanks a Bunch,
>
> > Taurus
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/github?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to