Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.67 KB

File metadata and controls

30 lines (25 loc) · 1.67 KB
title Cloning a repository from GitHub to GitHub Desktop
intro You can use {% data variables.product.prodname_dotcom %} to clone remote repositories to {% data variables.product.prodname_desktop %}.
redirect_from
/desktop/contributing-to-projects/cloning-a-repository-from-github-to-github-desktop
/desktop/contributing-and-collaborating-using-github-desktop/cloning-a-repository-from-github-to-github-desktop
/desktop/contributing-and-collaborating-using-github-desktop/adding-and-cloning-repositories/cloning-a-repository-from-github-to-github-desktop
versions
fpt ghec ghes
*
*
*
shortTitle Clone a GitHub repo
category
Add and clone repositories

Tip

You also can use {% data variables.product.prodname_desktop %} to clone repositories that exist on {% data variables.product.prodname_dotcom %}. For more information, see AUTOTITLE.

  1. Sign in to {% data variables.product.github %} and {% data variables.product.prodname_desktop %} before you start to clone. {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.open-with-github-desktop %}

  2. Click Choose... and navigate to a local directory where you want to clone the repository.

    Screenshot of the "URL" tab of the "Clone a Repository" window. Next to the "Local Path" field, a button, labeled "Choose", is outlined in orange.

    [!NOTE] If the repository is configured to use LFS, you will be prompted to initialize {% data variables.large_files.product_name_short %}.

  3. Click Clone.