做者:Jonzzs
連接:https://www.jianshu.com/p/3478e2a214a1
來源:簡書
著做權歸做者全部。商業轉載請聯繫做者得到受權,非商業轉載請註明出處。json
首先,安裝完 SourceTree
之後先運行一次,彈出初始化登陸頁面後退出。spa
打開 個人電腦
,在最上方的地址欄直接輸入如下地址:code
使用Notepad++新建一個文件,將如下內容複製到其中後將文件保存爲json格式,文件名爲accounts。it
[ { "$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 } ]
再次打開sourcetree選擇最後一個選項就能直接使用sourcetree了登錄