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.

The Windows GitHub application tries to tell you what to do at the bottom of the "local repository" screen.  It says to "Drag a repository here to add". That phrase always confused me. I can never figure out where to drag the repository from.









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.

 



Popular posts from this blog

A full context breaks three local models, each in a different way - 7

Installing the RNDIS driver on Windows 11 to use USB Raspberry Pi as network attached

On Ollama, a model's memory type and its runner decide how much of the cached prompt a new conversation reuses - 8