Skip to main content

Inviting collaborators to a personal repository

You can invite users to become collaborators to your personal repository.

如果使用 GitHub Free,可以在公共和专用存储库上添加无限的协作者。

Repositories owned by an organization can grant more granular access. For more information, see "Access permissions on GitHub."

待定邀请将在 7 天后过期,恢复任何无人认领的许可。

If you're a member of an enterprise with managed users, you can only invite other members of your enterprise to collaborate with you. 有关详细信息,请参阅“GitHub 帐户的类型”。

Note: GitHub limits the number of people who can be invited to a repository within a 24-hour period. If you exceed this limit, either wait 24 hours or create an organization to collaborate with more people.

  1. Ask for the username of the person you're inviting as a collaborator. If they don't have a username yet, they can sign up for GitHub For more information, see "Signing up for a new GitHub account".

  2. 在 GitHub.com 上,导航到存储库的主页。

  3. 在存储库名称下,单击 “设置”。 “存储库设置”按钮

  4. 在侧边栏的“访问”部分,单击“ 协作者和团队”。

  5. Click Invite a collaborator. "Invite a collaborator" button

  6. In the search field, start typing the name of person you want to invite, then click a name in the list of matches. Search field for typing the name of a person to invite to the repository

  7. Click Add NAME to REPOSITORY. Button to add collaborator

  8. The user will receive an email inviting them to the repository. Once they accept your invitation, they will have collaborator access to your repository.

Further reading