Skip to main content

此版本的 GitHub Enterprise 将停止服务 2022-10-12. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

Deleting your personal account

You can delete your personal account on your GitHub Enterprise Server instance at any time.

About deletion of your personal account

Deleting your personal account removes all repositories, forks of private repositories, wikis, issues, pull requests, and pages owned by your account. Issues and pull requests you've created and comments you've made in repositories owned by other users will not be deleted.

If you're the only owner of an organization, you must transfer ownership to another person or delete the organization before you can delete your personal account. If there are other owners in the organization, you must remove yourself from the organization before you can delete your personal account.

For more information, see the following articles.

Back up your account data

Before you delete your personal account, make a copy of all repositories, private forks, wikis, issues, and pull requests owned by your account. For more information, see "Backing up a repository."

Warning: Once your personal account has been deleted, an enterprise owner cannot restore your content.

Delete your personal account

  1. 在任何页面的右上角,单击个人资料照片,然后单击“设置”。

    用户栏中的 Settings 图标

  2. In the left sidebar, click Account. Account settings menu option

  3. At the bottom of the Account Settings page, under "Delete account", click Delete your account. Before you can delete your personal account:

    • If you're the only owner in the organization, you must transfer ownership to another person or delete your organization.
    • If there are other organization owners in the organization, you must remove yourself from the organization. Account deletion button
  4. In the "Make sure you want to do this" dialog box, complete the steps to confirm you understand what happens when your account is deleted: Delete account confirmation dialog

  • Recall that all repositories, forks of private repositories, wikis, issues, pull requests and pages owned by your account will be deleted, and your username will be available for use on GitHub Enterprise Server.
  • In the first field, type your GitHub Enterprise Server username or email.
    • In the second field, type the phrase from the prompt.