Skip to main content

Creating teams

Teams give organizations the ability to create groups of members and control access to repositories. Team members can be granted read, write, or admin permissions to specific repositories.

Teams are central to many of GitHub's collaborative features, such as team @mentions to notify appropriate parties that you'd like to request their input or attention. For more information, see "Roles in an organization."

A team can represent a group within your company or include people with certain interests or expertise. For example, a team of accessibility experts on your enterprise could comprise of people from several different departments. Teams can represent functional concerns that complement a company's existing divisional hierarchy.

Organizations can create multiple levels of nested teams to reflect a company or group's hierarchy structure. For more information, see "About teams."

Creating a team

A prudent combination of teams is a powerful way to control repository access. For example, if your organization allows only your release engineering team to push code to the default branch of any repository, you could give only the release engineering team admin permissions to your organization's repositories and give all other teams read permissions.

  1. 在 GitHub AE 的右上角,单击你的个人资料照片,然后单击“你的组织”。 贵组织在配置文件菜单中
  2. 单击您的组织名称。 组织列表中的组织名称
  3. 在组织名称下,单击 “团队”。 Teams 选项卡
  4. 在“团队”选项卡的右侧,单击“新团队”。 新团队按钮
  5. 在“Create new team(创建新团队)”下,输入新团队的名称。 团队名称字段
  6. (可选)在“Description(描述)”字段中输入团队的描述。 团队描述字段
  7. 决定团队是可见还是机密。 可见性选项,包括可见和机密
  8. (可选)如果要创建子团队,请使用下拉菜单为新团队选择父团队。 列出组织现有团队的下拉菜单
  9. 单击“创建团队”。