From the course: GitHub Essential Training: 1 The Basics

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Delete a repo

Delete a repo

- Now, sometimes you may have to delete a repo. Either you're no longer working on that project or if you're like me, you've started your portfolio five different times and you find the original branch that you started from a year ago that you need to work on. So you need to delete the new repo that you've started on your machine. To do that, we have a command of delete, a gh, delete repo. So right here I have my simple portfolio after I also have drone new portfolio and simple portfolio that I'm using. So I'm going to get rid of this new one by using GH repo delete my simple portfolio. Type in the confirmation. It's a great way to make sure you're not doing things by mistake, by making verify. You'll see there are a lot of verifications in your process of using this. Very similar to if you were in the gui, but you're right here. So that way your workflow stays the same. Okay, so I have to redo this and now I need to…

Contents