复制远程存储库
对于我们教程中的这个步骤,假设您是另一个团队成员,并且想要把我们在前面步骤中创建的和推送到的远程存储库,克隆到另一个目录,这样您就可以在您的本地计算机上处理它。我们将此目录称为tutorial2
。
单击 Sourcetree 书签窗口左上角的“New…”按钮。或者,您也可以从菜单栏中选择“File” > “New…”。

选择“Clone Repository”,然后输入远程存储库 URL、目标路径和新目录的名称,然后单击“Clone”。

新克隆的存储库将添加到书签列表中。

要验证 Git 是否成功执行了克隆,请在新克隆目录tutorial2
的sample.txt
中查找下面这行字:
Anyone can learn Git with this tutorial and Backlog