下載安裝SourceTree,啟動跳過註冊
阿新 • • 發佈:2019-01-29
前言
SourceTree版本:1.8.2.11(連結:點選開啟連結 密碼:6jev)
官網下載比較慢,上面給了連結可以快速下載!
以前管理專案版本都是用的SVN,最近接觸了一次傳說中的git。
聽前同事說,用SourceTree管理git專案比較好,所以,我就首先安裝了SourceTree。
安裝之後遇到了坑,死活註冊不了,可能是國外的軟體需要翻牆才行吧。
不過也沒有那麼麻煩,按照下面的操作流程,一般都能成功啟動軟體:
安裝過程
step1 歡迎介面
step2 選擇安裝路徑,我把它裝在了D盤
step3 安裝
step4 先啟動軟體
step5 關閉啟動介面
看到下面的這個介面之後,我們把這個介面關閉掉,這樣就會在C盤生成一些檔案了
step6 找到SourceTree在C盤生成的檔案
在位址列輸入 %LocalAppData%\Atlassian\SourceTree\ 然後回車
step7 建立accounts.json
新建一個文字文件,把名稱以及副檔名改為:accounts.json,裡面新增下列內容:
[ { "$id": "1", "$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity", "Authenticate": true, "HostInstance": { "$id": "2", "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountInstance, SourceTree.Host.AtlassianAccount", "Host": { "$id": "3", "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountHost, SourceTree.Host.AtlassianAccount", "Id": "atlassian account" }, "BaseUrl": "https://id.atlassian.com/" }, "Credentials": { "$id": "4", "$type": "SourceTree.Model.BasicAuthCredentials, SourceTree.Api.Account", "Username": "", "Email": null }, "IsDefault": false } ]
step8 把accounts.json放到資料夾下
step9 找到SourceTree.exe 啟動程式
安裝之後,桌面上沒有啟動程式,需要到安裝路徑裡面去找,為了方便,可以把啟動程式生成一個快捷方式放在桌面