(一)修改與新增檔案
1.修改檔案後提交,發現狀態變成"已修改",加入的行"2"
.png)

2.到烏龜看日誌,可以看到第二次提交的內容
.png)

3.點一下第一次的提交,再點兩下,就可以看到第一次提交的內容(每一次提交的版本都會留下來)
.png)

4.點第二次提交也可以看第二次提交的內容

5.加新檔再提交,會出現未版本控制的檔案,要勾選

6.再去看日誌,就會看到行動為"+"新增檔案

*如果沒有變動就提交,會出現"從上次提交以來沒有任何檔案變動或加入"

(二)版本比較
烏龜git=>與前一個版本比較,可以看不同版本的差異
(左邊:前一個版本,右邊/工作目錄:現在的版本)

●把檔案傳送至雲端github
1.登入github=>New Repository=>設定名稱=>create,可以取得遠端https/ssh

2.到烏龜git=>推送
.png)

3.管理

4.設定名稱/url和推送url貼上從github複製下來的網址

6.login github

7.推送成功

8.回到github可以看到我們的資料夾包含提交的紀錄

TortoiseGit官網載點:https://tortoisegit.org/
文章標籤
全站熱搜