GitHub has always been one of the favorite platforms for the open source community and programmers. However, sometimes you may need to delete your GitHub account or repository. This article will teach you how to delete your GitHub account and code repository.
Delete GitHub account
- Open GitHub and make sure you have logged in to your account.
- Click the account avatar and click "Settings" in the pop-up drop-down list to enter the settings page.
- Select "Account management" in the left menu of the settings page, and then click "Delete account".
- Enter your GitHub account password on the verification page.
- On the confirmation page, enter your username and select the "I understand the consequences, delete this account" radio button. Click the "Delete account" button.
- At this point, your GitHub account will be permanently deleted, including all code repositories, Gists, applications that use OAuth to authorize you, and your Gists. Please proceed with caution, as deleting your GitHub account cannot be restored!
Delete a GitHub code base
If you just want to delete one of your code bases, not the GitHub account itself, you can follow the steps below.
- Open GitHub and make sure you have logged in to your account.
- Select the code library you want to delete and enter its page.
- In the upper right corner of the code library page, click the "Settings" button.
- In the repository settings page, scroll down and find "Delete this repository" in "Danger Zone". Click this button.
- In the pop-up confirmation page, enter the code repository name and click the "I understand the consequences, delete this repository" radio button. Click the "Delete" button.
- At this time, the code base will be permanently deleted, including all commit records and branches. Please proceed with caution, as deleting the code base cannot be restored!
Summary
GitHub is a very good open source platform, but sometimes you may need to delete your GitHub account or code base. Before deleting, please be careful to ensure that the object you want to delete is correct, otherwise it may cause irreparable consequences.
The above is the detailed content of Teach you how to delete GitHub account and code repository. For more information, please follow other related articles on the PHP Chinese website!
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn