From 586ee13500d93c11f6597aacdce7622d1079c779 Mon Sep 17 00:00:00 2001 From: Dimitrios Theodorakis Date: Wed, 18 Dec 2024 13:10:06 +0000 Subject: [PATCH] #85 Add how to delete your repo in the End episode --- episodes/End.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/episodes/End.md b/episodes/End.md index 3969a80963..1ec7d2d120 100644 --- a/episodes/End.md +++ b/episodes/End.md @@ -27,6 +27,11 @@ Useful page links: - [FCM to Git](../learners/fcm-git_cheat_sheet.md) cheat sheet - [Git cheatsheets](../learners/reference.md) +You can keep your weather repositories around to practice with +for as long as you like and +when you are ready to delete them use the instructions +at the end of this page. + ## Summary You've now created a repository both locally on your computer @@ -57,3 +62,28 @@ config: A summary page outlining the steps we've taken to create a new repository locally and connect it to a GitHub remote can be found in the extra [Quick Start Repository Guide](../learners/repo-quick-start.md). + +## Deleting a Repository + +Make sure you are certain you want to delete the repository. +If you delete both the local and GitHub repositories you won't be able +to recover your files! + +### Deleting a Local Repository + +```bash +$ cd ~/Desktop +$ rm -rf weather +``` + +### Deleting a GitHub Repository + +1. Navigate to `https://github.com//weather/settings` +2. Scroll down to the last setting in the **Danger Zone** +3. Click on `Delete this repository` + +You will be asked to confirm twice that you understand the effects +of deleting the repository. +You will also be asked to type out `/weather` +to confirm the deletion and you may have to confirm the deletion +using MFA or your passkey.