About teams
You can use teams to manage access for people in an organization. Teams are groups of organization members that reflect your company's structure with cascading access permissions.
Teams can:
- Have admin, read, or write access to organization repositories
- Receive notifications when the team's name is mentioned or when someone requests a review from the team
- Be designated as owners of certain files in a CODEOWNERS file
- Be made "secret" to hide membership from other members
- Be synced with an identity provider group to manage membership centrally
- Be children or parents of other teams, allowing permissions and notifications to be inherited
For more information, see See 关于团队 and 设置组织中的团队创建权限.
Creating a team
-
在 GitHub 的右上角,选择个人资料照片,然后单击 “你的组织”。
-
单击您的组织名称。
-
在组织名称下,单击 “团队”。
-
在页面顶部,单击“新建团队”。
-
在“Create new team(创建新团队)”下,输入新团队的名称。
-
(可选)在“Description(描述)”字段中输入团队的描述。
-
(可选)如果要创建子团队,请在“父团队”下选择“选择父团队”下拉菜单,然后单击父团队。 有关子团队的详细信息,请参阅 关于团队。
-
Optionally, if your organization or enterprise account uses team synchronization or your enterprise uses Enterprise Managed Users, connect an identity provider group to your team.
- If your enterprise uses Enterprise Managed Users, use the "Identity Provider Groups" drop-down menu, and select a single identity provider group to connect to the new team. For more information, 使用标识提供者组管理团队成员身份.
- If your organization or enterprise account uses team synchronization, under "Identity Provider Groups," select the Select Groups dropdown menu, and click up to five identity provider groups to connect to the new team. For more information, see 将团队与身份提供程序组同步.
-
在“团队可见性”下,选择团队的可见性。
-
在“团队通知”下,选择“已启用”或“已禁用”。
Note
此设置仅适用于团队名称的 @mentions。 此设置不会影响团队请求的评审通知。
-
单击“创建团队”。
-
Optionally, give the team access to organization repositories. For more information, see 管理团队对组织仓库的访问.
Next steps
Next, learn about best practices for structuring your organizations and teams. See Best practices for organizations in your enterprise.