How to keep/maintain public and private code in the same repository? (at repository hostings)
问题 I'm working on my own project which has two parts: A. kernel/generic code (public part) B. code which works with proprietary protocol etc (private part, available for me and a few authorized persons) I want repository hosting (maybe github, assembla, ...) which allows working in public and private branches in the same repository. I don't want two repositories because I'm actively working on both parts and I want to avoid diverged repositories. Which solution is available for me? 回答1: which