设置第二个 github 存储库以进行协作并将完成的代码拉到主存储库
我计划与一些自由开发人员合作,并需要让他们能够访问我的 github 'real repo' 来推送提交。我想将他们在“克隆仓库”中所做的事情与我的“真实仓库”完全分开,并自己将任何完成的工作拉到我的“真实仓库”中。
我是否克隆存储库并将“克隆存储库”远程添加到我的“真实存储库”?然后我可以从中拉出来吗?
我还不是最精明的 git 用户,所以任何详细的解释将更加感激:)
I'm planning to work with a few freelance developers and need to let them have access to my github 'real repo' to push commits. I'd like to keep what they do in a 'clone repo' completely separate from my 'real repo', and pull any finished work into my 'real repo' myself.
Do I clone the repo and add that 'clone repo's' remote to my 'real repo'? And then I can pull from it?
I'm not the most savvy git user quite yet so any detailed explanation would be even more appreciated :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以分叉原始存储库,并授予自由职业者访问分叉存储库的权限。
http://help.github.com/fork-a-repo/
一旦分叉存储库中的更改已准备就绪,可以将拉取请求发送到原始存储库
http://help.github .com/pull-requests/
You can fork your original repo and give access to the freelancers to the forked repo.
http://help.github.com/fork-a-repo/
Once the changes are ready in the forked repo, pull requests can be sent to the original repo
http://help.github.com/pull-requests/