SourceTree跳过初始设置

转载https://www.cnblogs.com/xiofee/p/sourcetree_pass_initialization_setup.html

 

如何跳过初始设置,只需要在安装路径中添加一个accounts.json的文件即可。其中Windows中默认安装路径:%LocalAppData%\Atlassian\SourceTree\,你可以在正常注册和使用的Source Tree中找到该文件。

 

一定要注意安装目录下%LocalAppData%\Atlassian\SourceTree\ 新增

account.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
  }
]

 

 

然后重新打开Source Tree即可

posted @ 2018-05-09 13:39  狼人杀  阅读(204)  评论(0编辑  收藏  举报