Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Clone someone else's public repo in Github Desktop

Github Desktop makes it easy for me to clone projects from Github, when they belong to my account (or one of my organizations).

Cloning projects with Github Desktop

Is there any way for me to clone a public repo belonging to somebody else with Github Desktop?

like image 603
bryanbraun Avatar asked Sep 05 '15 19:09

bryanbraun


People also ask

Can anyone clone a public repository?

You can create a complete local copy of a Git repository from a public project by cloning it. Cloning a repo downloads all commits and branches in the repo and sets up a named relationship with the existing repo you cloned.

Do you need a GitHub account to clone a public repo?

"No" sounds like you can't git clone Github repos without having a user and logging in.

How do I add someone else's repository to GitHub?

On GitHub.com, navigate to the main page of the repository. Under your repository name, click Settings. In the "Access" section of the sidebar, click Collaborators & teams. Click Invite a collaborator.

How do I fork someone else's repository?

Go to the repository on github. (Say it's by myfriend , and is called the_repo , then you'll find it at https://github.com/myfriend/the_repo .) Click the “Fork” button at the top right. You'll now have your own copy of that repository in your github account.


1 Answers

I don't believe you can do that from within Github Desktop.

You can use the Clone in Desktop button on a Github project's webpage (as Anatoly said).

enter image description here

Another alternative (without the client of course), is opening a cmd/terminal and using:

git clone https://github.com/user/repo.git
like image 106
Meeoh Avatar answered Oct 17 '22 07:10

Meeoh