SourceTree跳过初始设置[转载]

在SourceTree的配置目录新建(或修改)accounts.json为以下内容。配置目录通常位于:json

C:\Users\Administrator\AppData\Local\Atlassian\SourceTree,该目录需先启动一次SourceTree才会被生成(通常安装完SourceTree后,运行下,提示登陆时就能够退出了,此时配置目录已经被生成)!spa

accounts.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 } ]
相关文章
相关标签/搜索