转载https://www.cnblogs.com/xiofee/p/sourcetree_pass_initialization_setup.htmlhtml
如何跳过初始设置,只须要在安装路径中添加一个accounts.json
的文件便可。其中Windows中默认安装路径:%LocalAppData%\Atlassian\SourceTree\
,你能够在正常注册和使用的Source Tree中找到该文件。json
必定要注意安装目录下%LocalAppData%\Atlassian\SourceTree\ 新增spa
account.json
的内容code
[ { "$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 } ]
而后从新打开Source Tree便可htm