Skip to main content

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

Deleting your personal account

You can delete your personal account on 你的 GitHub Enterprise Server 实例 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.

如果帐户命名空间包含存储在 GitHub Packages 注册表中的任何包或容器映像,则在你删除帐户时,GitHub 会删除包和容器映像。 删除帐户后,可能会中断依赖于这些包和映像的项目。

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.

注意

  • You should contact an enterprise owner before deleting your account on GitHub Enterprise Server.

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 备份仓库.

警告

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

Deleting your personal account

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

  2. 在边栏中,单击“ 帐户”。

  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.
  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:

    • 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.
    • In the first field, type your username or email.
    • In the second field, type the phrase from the prompt.