Source Tree 免登陸安裝方法
安裝Source Tree時需要登入賬號才能進行下一步的工具安裝,但有時登入介面總是重新整理不出來,VPN也不行,可以採用以下方法,親測可用!!!
%LocalAppData%\Atlassian\SourceTree\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
}
]