Possible Duplicate:
How to keep public and private versions of a git repo in sync?
We have an application that is open sourced on GitHub using git
, but we want to split
and create a new version of the project which is premium
i.e. we are going to add features that aren't available in the open source version. We still need to be able to make fixes and changes to the open source version though.
The problem is that we can't simply create a branch
because the the premium version should be a private repo on GitHub, where the open source version is public on GitHub.
So, if we simply create a new private repo on GitHub and clone the existing project, now we have two separate projects and when we make changes/fixes, we have to apply those to both. Is there anyway to manage this?
The workflow is most of the changes will only apply to the premium version, but we may need to patch and fix things which should apply to both the open source and premium version.