●下載專案的方法
一、可以直接download,或是複製網址去clone

二、用git clone複製
1.複製網址後,可以用git clone,貼上url

2.完成後除了clone資料夾,會連提交紀錄都一起clone

三、用android clone
1.在第一個畫面選check out project from version control

2.選github


3.登入github

4.第二組帳號密碼是用來管理這台電腦連結github的帳號密碼,如果沒設定可直接跳過

5.貼上url

●把版本庫推送至指定路徑或是clone版本庫到指定路徑
=>這個技巧可以把要被推送的資料夾放在雲端硬碟設定同步,這樣每次提交之後作推送到local,就可以自動和雲端的資料夾同步,達到備分效果
1.先在要被推送的資料夾建立版本庫,並勾選"設為純版本庫"

2.遠端=>管理=>url前面要輸入file:/// ex:file:///C:/data/1

3.這邊要選否,完成後就可以把資料推送到local資料夾(但看不到檔案)

4.在要clone的位置選git 克隆,不用先建立版本庫,路徑前面不要加file:///

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