Deleting your user account

You can delete your GitHub user account at any time.

Deleting your user 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 - instead, they'll be associated with our Ghost user.

The account name also becomes available to anyone else to use on a new account, and we stop billing you. The email address associated with the account becomes available for use with a different GitHub account.

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 user account. If there are other owners in the organization, you must remove yourself from the organization before you can delete your user account.

For more information, see:

Back up your account data

Before you delete your user account, make a copy of all repositories, private forks, wikis, issues, and pull requests owned by your account.

Warning: Once your user account has been deleted, GitHub cannot restore your content.

Delete your user account

  1. 在任何页面的右上角,单击您的个人资料照片,然后单击 Settings(设置)用户栏中的 Settings 图标
  2. 在左侧边栏中,单击 Account(帐户)帐户设置菜单选项
  3. At the bottom of the Account Settings page, under "Delete account", click Delete your account. Before you can delete your user 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, your billing will end, and your username will be available to anyone for use on GitHub.
  • In the first field, type your GitHub username or email.
    • In the second field, type the phrase from the prompt.

此文档对您有帮助吗?隐私政策

帮助我们创建出色的文档!

所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。

做出贡献

或, 了解如何参与。