About collaboration in a personal repository
To collaborate with users in a repository that belongs to your personal account on GitHub, you can invite the users as collaborators.
If you want to grant more granular access to the repository, you can create a repository within an organization. For more information, see GitHub 上的访问权限.
专用分支继承上游存储库的权限结构。 这有助于私有仓库的所有者保持对其代码的控制。 例如,如果上游仓库是私有的,并授予团队读/写访问权限,则同一团队对该私有上游仓库的任何复刻拥有读/写权限。 专用分支仅继承团队权限(而不是个人权限)。
注意
有关详细信息,请参阅“为组织设置基本权限”。
Inviting a collaborator to a personal repository
You can send an invitation to collaborate in your repository directly to someone on GitHub..
-
Ask for the username of the person you're inviting as a collaborator.
-
在 GitHub 上,导航到存储库的主页面。
-
在存储库名称下,单击 “设置”。 如果看不到“设置”选项卡,请选择“”下拉菜单,然后单击“设置”。
-
In the "Access" section of the sidebar, click Collaborators.
-
Click Add people.
-
In the search field, start typing the name of person you want to invite, then click a name in the list of matches.
-
Click Add NAME to REPOSITORY.