From the course: GitHub Essential Training: 1 The Basics
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Cloning repos with GitHub CLI
From the course: GitHub Essential Training: 1 The Basics
Cloning repos with GitHub CLI
- [Instructor] Now, you don't always start with a new project. Many times you're going to have to clone a project, either a project that is being worked on in the office or an open-source project that you want to contribute to. We do that in the GitHub CLI with its clone command. So, how do we do that? With GitHub CLI is pretty cool, pretty simple. We just use gh repo clone. So, right here, I am going to use gh repo clone, and I'm going to clone Vets-Who-Code/vets-who-code-app. Now, I press that. It takes a little time to clone applications. But as you see, I'm having 100 percent across the board. Done, done, done. Now it's receiving those objects from remote. And it is complete. Now I press ls. I have my-simple-portfolio and my vets-who-code-app in here as well. If I were just to cd in the vet-who-code-app, and then run that command that we did earlier about gh repo view, I can see everything in that read-me…
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)
-
-
-
-