Skip to main content
  1. Learn center
  2. Software Development
  3. Guides
  4. Git tutorial
  5. 如何使用 Git
  6. 如何在 Windows 中使用 Git
  7. 复制远程存储库
GuidesSoftware DevelopmentBacklog
Git

Project and code management together.

复制远程存储库

对于我们教程中的这个步骤,假设您是另一个团队成员,并且想要把我们在前面步骤中创建的推送到的远程存储库,克隆到另一个目录,这样您就可以在您的本地计算机上处理它。我们将此目录称为“tutorial2”。

双击桌面任意位置,在右键菜单中点击“Git Clone”。

Click Git Clone

输入要克隆的远程存储库的 URL 和目录名称,然后单击“OK”。

Enter the URL of the remote repository, then click OK

克隆将在下一个屏幕上开始。完成后,单击“Close”结束。

Clone succeeded

您现在已经创建了tutorial2的目录。

Directory tutorial2 was created

要验证 Git 是否成功执行了克隆,请在新克隆目录tutorial2sample.txt文件中查找下面这行字:

Anyone can learn Git with this tutorial and Backlog

Subscribe to our newsletter

Learn with Nulab to bring your best ideas to life