1. 程式人生 > >如何順暢使用sourcetree可視化工具

如何順暢使用sourcetree可視化工具

用戶 步驟 json 不可 info mage acc 新建 source

http://www.360doc.com/content/17/0711/10/11253639_670493403.shtml

sourcetree軟件下載

下載地址:https://www.sourcetreeapp.com/

SourceTree 安裝之後需要使用賬號登錄授權,以前是可以不登錄的,但是現在是強制登錄。

雖然是免費授權,但是碰上不可抗力因素,比如說登錄時需要驗證碼,這個驗證碼是谷歌發的,這裏使用代理FQ也不能正常收到,所以登錄不是很方便,這裏記錄一下跳過這個初始化的步驟。

安裝之後,轉到用戶本地文件夾下的 SourceTree 目錄,沒有則新建

C:\Users\alice\AppData\Local\Atlassian\SourceTree

新建 accounts.json 文件
路徑:C:\Users\alice\AppData\Local\Atlassian\SourceTree\accounts.json
輸入以下內容保存即可

 1  1 [
 2  2   {
 3  3     "$id": "1",
 4  4     "$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity",
 5  5     "Authenticate": true,
 6  6     "HostInstance": {
7 7 "$id": "2", 8 8 "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountInstance, SourceTree.Host.AtlassianAccount", 9 9 "Host": { 10 10 "$id": "3", 11 11 "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountHost, SourceTree.Host.AtlassianAccount",
12 12 "Id": "atlassian account" 13 13 }, 14 14 "BaseUrl": "https://id.atlassian.com/" 15 15 }, 16 16 "Credentials": { 17 17 "$id": "4", 18 18 "$type": "SourceTree.Model.BasicAuthCredentials, SourceTree.Api.Account", 19 19 "Username": "", 20 20 "Email": null 21 21 }, 22 22 "IsDefault": false 23 23 } 24 24 ]

技術分享圖片

如何順暢使用sourcetree可視化工具