Is it possible to force Github Desktop to show repo cloned from command line?

293 views Asked by At

On windows 7 64-bit when I clone a Github repo cmd.exe by running something like this;
cd Documents\github git clone git://github.com/username/repo.git

Then I open Github desktop and the cloned repo isn't there. I know that I can clone repos through Github desktop and that's great but what I want to know is; can I some how force Github desktop to recognize a repo cloned through the command line?

2

There are 2 answers

0
James Draper On

A partial solution from Steve Ward at Github support;
Open Git Shell, which should automatically start in your Github directory then run the following commands;

git clone git://github.com/username/repo-name.git github repo-name

Github desktop will launch and you should see repo-name load.

I still would like to see a single step automated solution that could be run from the cmd.exe as well git shell but that sounds like it doesn't exist. But anyone figures it out post it here and I'll mark it as the correct answer.

3
Kyle On

There is a '+' in the upper left corner which allows adding a repository that was not cloned through the application.

More