How to skip the initial setup, just add a accounts.json
file to the installation path. Among them, the default installation path in Windows: %LocalAppData%\Atlassian\SourceTree\
, you can find this file in the Source Tree that is normally registered and used.
Be sure to pay attention to the addition of %LocalAppData%\Atlassian\SourceTree\ in the installation directory
account.json
Content
[ { "$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 } ]
Then reopen Source Tree