我们经常发布文档更新,此页面的翻译可能仍在进行中。有关最新信息,请访问英文文档。如果此页面上的翻译有问题,请告诉我们

Cloning a repository from GitHub to GitHub Desktop

You can use GitHub to clone remote repositories to GitHub Desktop.

Tip: You also can use GitHub Desktop to clone repositories that exist on GitHub. For more information, see "Cloning a repository from GitHub Desktop."

  1. Sign in to GitHub and GitHub Desktop before you start to clone.

  2. 在 GitHub 上,导航到仓库的主页面。

  3. Above the list of files, click Code.

    "Code" button

  4. Click Open with GitHub Desktop to clone and open the repository with GitHub Desktop.

    "Open with GitHub Desktop" button

  5. Click Choose... and, using the Finder window, navigate to a local path where you want to clone the repository.

    The choose button on the URL tab

    Note: If the repository is configured to use LFS, you will be prompted to initialize Git LFS.

  6. Click Clone.

    The clone button on the URL tab

  1. Sign in to GitHub and GitHub Desktop before you start to clone.

  2. 在 GitHub 上,导航到仓库的主页面。

  3. Above the list of files, click Code.

    "Code" button

  4. Click Open with GitHub Desktop to clone and open the repository with GitHub Desktop.

    "Open with GitHub Desktop" button

  5. Click Choose... and, using Windows Explorer, navigate to a local path where you want to clone the repository.

    The choose button

    Note: If the repository is configured to use LFS, you will be prompted to initialize Git LFS.

  6. Click Clone.

    The clone button

问问别人

找不到要找的内容?

联系我们