從儲存庫拉取
現在讓我們把最新的修改 (我們剛才在前一個步驟推送的修改) 從遠端儲存庫拉取到我們的本地儲存庫 (即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
已新增到內容中。