We are using Github for our project, and thinking about hiring a contractor for some part of a project. Is it possible to expose only some part of the code base to the contractor using Github? If not, what tool should we use?
Thank you.
We are using Github for our project, and thinking about hiring a contractor for some part of a project. Is it possible to expose only some part of the code base to the contractor using Github? If not, what tool should we use?
Thank you.
I recently came across git subtree, which could be used to assist with splitting and merging a subdirectory of changes to a contractor.
You can use submodules (there is also GitHub help on submodules), if the code you can reveal is in separate directory.
What I have done is used a private repo host for non-public work (unfuddle.com and now bitbucket offers this). Depending on the nature of the work, you can link with submodules. If the work is on the same repo you can just have another remote and be mindful of what branches you are pulling and pushing.