从存储库拉取
现在让我们把最新的修改 (我们刚才在前一个步骤推送的修改) 从远程存储库拉取到我们的本地存储库 (即“tutorial”目录)。
既然我们的远程存储库与tutorial2
中的更改是最新的,让我们拉取更改,并同步我们的初始存储库目录“tutorial”。
要执行拉取,请右键单击“tutorial”目录,并从右键单击菜单中选择“Pull”。

单击“OK”。

拉取将启动。在完成后,单击“Close”结束。

从右键单击菜单中单击“TortoiseGit” > “Show log”。请注意,main
已向前移动到与origin/main
相同的级别。这意味着我们的“tutorial”本地存储库现在与远程存储库的最新更改保持同步。

打开sample.txt
文件,并检查内容。
Anyone can learn Git with this tutorial and Backlog
add: Register a change in an index
您应该看到add: Register a change in an index
已添加到内容中。