You can delete your GitHub Enterprise user account at any time. Before you do so, you should hand over the reins of any organizations you might own.

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.

If you’re an organization owner and you want to delete your user account, you must transfer ownership to another person or delete your organizations before you can delete your user account.

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. In the upper-right corner of any page, click your profile photo, then click Settings. Settings icon in the user bar
  2. In the left sidebar, click Account settings. Account settings menu option

  3. At the bottom of the Account Settings page, under "Delete account", click Delete your account. 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.
    • In the first field, type your GitHub Enterprise username or email.
    • In the second field, type the phrase from the prompt.