GitHub "Clone to Desktop" with Windows GitHub.
You download GitHub code by "cloning" the repository to a local repository. They call this a desktop clone. Each GitHub repository home page has a neat "Clone to Desktop" button in the web interface that you would think clones the repository to your desktop.
That button actually takes you to the GitHub Windows application download page even if you have the GitHub app already installed. This is where I usually get stuck and head off to some search engine for help.
It turns out you are supposed to drag the URL for the repository from your browser onto the desktop application.
Resize your browser window so you can drag the repository onto the GitHub windows application. It will immediately clone that repository to your local GitHub repository.
This example shows the location in the browser of the component you grab and drag onto the main GitHub application window.
Thank you for this post! I was getting so frustrated that I was about to throw my computer out the window. I cannot believe that GitHub has not made this more clear. On my GitHub on Wndows 8 I don't even see the "drag here" box, so I had no clue what to do
ReplyDeleteThank you so much. You save me lots of time. Just the same as Paul's situation, I don't see "drag here" either. Clicking "Clone in Desktop" directs me to the download page, not activating GitHub for Windows. This happens with version 2. With GitHub Desktop version 1, I got no problem at all.
ReplyDeleteHi, I just want to update this. On github.com, you have to log in and then clicking Clone in Desktop will work.
ReplyDeleteThis was key for me! Once I logged in I could clone to desktop - thanks so much!!!
DeleteLogged in and clone in Desktop didn't work at all.
DeleteThanks for drag&drop solution!
Yes, that did the trick!
DeleteI was using "Clone in Desktop" until I ran into some small inconveniences. I now prefer to copy the clone URL, and run a basic "git clone " through command line. More details:
ReplyDeletehttps://stackoverflow.com/questions/25816844/how-can-i-hide-the-pr-remote-branches
Thank You Very Much!!!
ReplyDeleteThanks for the post, as Paul said there is no 'drag here' option as well.
ReplyDeleteThank you for that. What a stupid setup on github!
ReplyDeleteThanks for that, this problem has been really frustrating me!
ReplyDeleteThanks! The drag and drop thing works as you described.
ReplyDeleteThanks for that, couldn't find the info anywhere else. Whilst the Github client looks very nice it is very much as case of style over substance when something that should be so simple requires multiple web searches.
ReplyDeleteWhis is what I need! Thanks for the great help
ReplyDeleteWhat a terrible software operating design github is!
Both ways worked for me:
ReplyDelete1. log in to github in web browser then Clone in Desktop
2. without being logged into github, drag the URL of code you want to clone to your github desktop application window
Thanks so much for posting!
Must be the most terrible ui ever. I downloaded the latest version today, logged into both app and web, clicked Clone in Desktop. The app was activated and then nothing. Why is the button still there when it clearly doesn't do what it used to? And why aren't there any hints, both in app and web, that drag-n-drop is the thing..?
ReplyDeleteWhere's a UX specialist when you need one? ;-)
ReplyDeleteah, OK On windows 10 there is no "drag here" box either. For several days, the 'clone to desktop' button took me to the windows client download page but it seems to be fixed today. Thanks for the post!
ReplyDeleteThanks for that! "Clone to desktop" button still seems to take you to the download page. Very very un-intuitive.
ReplyDeleteThis has gotten retarded, and I can't tell if it's because of GitHub, Chrome, or Windows. Chrome normally opens up a window asking if you want to always launch the app or not, now it doesn't for GitHub, and GitHub for Windows has a very unintuitive interface for adding repos, which I've already discussed with them. Really, make it as easy as possible for the user to get as much done as possible, and they will love you, otherwise you're wasting everyone's time and they won't want to use your products any more than they have to.
ReplyDeleteWhat a wonderful post. I truly enjoyed reading this.
ReplyDeleteBluetooth balance board
I searched through so many Github documents and web pages before finding your drag-and-drop solution. Thank you for writing this page!
ReplyDelete+1 thanks for the hint! Same problem here (Firefox, reinstall of GitHub Windows solved it for 1-2 times only)
ReplyDeleteThank you - I thought I was going nuts! - GITHUB are you deliberately making this difficult for new users?
ReplyDeleteThanks so much, me too was stuck and now it works!!!
ReplyDeleteThank you so much.
ReplyDeleteYou're the king! For some reason, the GitHub desktop button on the repository pages had stopped working for me. Thank you!
ReplyDeleteHow can be done the URL dragging from the Edge browser? That easy way seems to work only with IE ...
ReplyDeleteI am so grateful for this post. Having spent some time trying to download desktop Github, after successful install, I was stuck on cloning. Thanks very much for this post. :)
ReplyDeleteYeah, github desktop is not a great newbie experience. And github is supposed to be so great. Thanks.
ReplyDeleteNice tip! Thank you!
ReplyDeleteAlong with everyone else here..."Thank you!" Most helpful.
ReplyDeleteThanks Joe - I echo the comments above. This had me stumped until I found your post.
ReplyDeleteThanks, as a newbie I'm rapidly coming to hate github. The useless button makes me think it sucks even more. There was no drag to here prompt in the desktop client Chocolate-Covered Yaks (3.3.2.0) 570bd2e, but when I dragged the icon a message appeared, by which stage it was too late because I'd already done what the message was prompting me to do.
ReplyDeleteCheck the following for latest instructions on Github client. It also talking about branching and merging easily https://www.attosol.com/create-and-merge-branches-using-github-desktop-client/
ReplyDeleteThanks, Joe. Like so many others, I had no clue what to do.
ReplyDeleteThank you for this!!!
ReplyDeleteThanks, came to this about 4 times over the last 2 years but just ended up downloading the zip instead as couldnt be arsed working it out. Good to finally be told how to do it, clearly and simply.
ReplyDeleteI've found that the "clone Desktop" button seems to remember that I was using a Mac earlier. Problem is that now I'm in the Windows Github client - and the "Open in desktop" button throws out a url that starts with "github-mac://openRepo/https://github.com/"
ReplyDeleteSo I clicked "open in new tab" on the button to capture the url, replaced "mac" with "windows" and it works.
Quirky.