Skip to main content

此版本的 GitHub Enterprise 已停止服务 2022-06-03. 即使针对重大安全问题,也不会发布补丁。 要获得更好的性能、改进的安全性和新功能,请升级到 GitHub Enterprise 的最新版本。 如需升级方面的帮助,请联系 GitHub Enterprise 支持

Types of GitHub accounts

Accounts on GitHub Enterprise Server allow you to organize and control access to code.

About accounts on GitHub Enterprise Server

With GitHub Enterprise Server, you can store and collaborate on code. Accounts allow you to organize and control access to that code. There are three types of accounts on GitHub Enterprise Server.

  • Personal accounts
  • Organization accounts
  • Enterprise accounts

Every person who uses GitHub Enterprise Server signs into a personal account. An organization account enhances collaboration between multiple personal accounts, and the enterprise account for 您的 GitHub Enterprise Server 实例 allows central management of multiple organizations.

Personal accounts

Every person who uses 您的 GitHub Enterprise Server 实例 signs into a personal account. Your personal account is your identity on 您的 GitHub Enterprise Server 实例 and has a username and profile. For example, see @octocat's profile.

Your personal account can own resources such as repositories, packages, and projects. Any time you take any action on 您的 GitHub Enterprise Server 实例, such as creating an issue or reviewing a pull request, the action is attributed to your personal account.

You can create an unlimited number of repositories owned by your personal account, with an unlimited number of collaborators on those repositories.

Tip: Personal accounts are intended for humans, but you can create accounts to automate activity on GitHub Enterprise Server. This type of account is called a machine user. For example, you can create a machine user account to automate continuous integration (CI) workflows.

Organization accounts

Organizations are shared accounts where an unlimited number of people can collaborate across many projects at once.

Like personal accounts, organizations can own resources such as repositories, packages, and projects. However, you cannot sign into an organization. Instead, each person signs into their own personal account, and any actions the person takes on organization resources are attributed to their personal account. Each personal account can be a member of multiple organizations.

The personal accounts within an organization can be given different roles in the organization, which grant different levels of access to the organization and its data. All members can collaborate with each other in repositories and projects, but only organization owners and security managers can manage the settings for the organization and control access to the organization's data with sophisticated security and administrative features. For more information, see "Roles in an organization" and "Keeping your organization secure."

Diagram showing that users must sign in to their personal account to access an organization's resources

You can also create nested sub-groups of organization members called teams, to reflect your group's structure and simplify access management. For more information, see "About teams."

For more information about all the features of organizations, see "About organizations."

Enterprise accounts

Your enterprise account is a collection of all the organizations on 您的 GitHub Enterprise Server 实例. You can use your enterprise account to centrally manage policy and billing. Unlike organizations, enterprise accounts cannot directly own resources like repositories, packages, or projects. These resources are owned by organizations within the enterprise account instead. For more information, see "About enterprise accounts."

Further reading