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
From the course: GitHub Essential Training: 1 The Basics
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
-
-
-
(Locked)
What is GitHub CLI?48s
-
(Locked)
Installing GitHub command line locally3m 22s
-
(Locked)
Create a repo with GitHub CLI2m 57s
-
(Locked)
Read or view your repo from the command line50s
-
(Locked)
Cloning repos with GitHub CLI1m 40s
-
(Locked)
Fork a repo from CLI57s
-
(Locked)
Delete a repo3m 9s
-
(Locked)
Looking at the issue list2m 11s
-
(Locked)
Opening the browser with GitHub CLI1m 13s
-
(Locked)
-
-
-
-