[英]Git: One project with two remote repo maintaining separate commits
My Client has a github private repo which is shared to me. 我的客户有一个与我共享的github私人仓库。 I also want to setup a private repo with my developers for the same project.
我还想与我的开发人员为同一项目设置一个私人仓库。
The issue is that I do not want to push commits of my developers directly to the client repo, but want a separate commit history with my client and developer. 问题是我不想将开发人员的提交直接推送到客户端存储库,而是希望与我的客户端和开发人员进行单独的提交历史记录。
I read about branching but branching will make the new/developer branch visible to my Client. 我阅读了有关分支的知识,但分支将使new / developer分支对我的客户可见。
Is there a way I can Get this form a single directory or I will heave to use two separate project directories, synced with the respective repo. 有没有一种方法可以使我从一个目录中获得此目录,或者我将使用两个单独的项目目录,并与各自的存储库进行同步?
You could fork the private GitHub client repo: it would still be a private repo (even if you don't have a paying account) 您可以分叉私有GitHub客户回购:它仍然是私有回购 (即使您没有付费帐户)
Then your developers could push to that fork. 然后,您的开发人员可以继续进行下去。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.