在Github中向项目所有者添加另一个用户 [英] Add another user to project owners in Github

查看:801
本文介绍了在Github中向项目所有者添加另一个用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将其他用户添加到项目中,以便该项目在他的Github帐户中显示在他的名下?我不想要叉子。两个用户应该在他们的账户中托管同一个项目,这应该允许两个用户在项目中进行协作。

How can I add another user to project such that the project shows under his name in his Github account too? I don't want a fork. Two users should host same project in their accounts and this should allow both users to collaborate in the project.

推荐答案

您只能将协作者添加到您的存储库。它不能被共同拥有。

You can only add collaborators to your repository. It cannot be "co-owned".

但是当某人被添加为回购协议的合作者时,该回购将被列在您的存储库中部分(但用户名将只是用户名称)

But when someone is added as collaborator to a repo, that repo will be listed in the Your Repositories section ( but the username will be the owner username only)

做您想要的的唯一方法是分叉回购协议并通过pull请求协作。

The only way for doing what you want is to fork the repo and collaborate through pull requests.

请注意,您可以创建一个组织( https://github.com/account/organizations/new )并实现你想要的功能。

Note that you can create an organization ( https://github.com/account/organizations/new ) and achieve a bit of what you want.

这篇关于在Github中向项目所有者添加另一个用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆