sourceTree 3.X免注册[学习]

一、 在路径C:****AppDataLocalAtlassianSourceTree下创建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
  }
]

二、在路径C:****AppDataLocalAtlassianSourceTree.exe_Url_rvhjoyheuswglmomkjmmedhk4lsdtqh03.0.12.2543下(不同版本可能路径不同),找到文件[user.config],在第4行<SourceTree.Properties.Settings>下插入6行代码

<setting name="FileStatusFilter" serializeAs="String">
  <value>65278</value>
</setting>
<setting name="DiffContext" serializeAs="String">
  <value>3</value>
</setting>
<setting name="DiffWhiteSpaceIgnored" serializeAs="String">
  <value>False</value>
</setting>
三、 参考链接
原文地址:https://www.cnblogs.com/Tianbao/p/11720234.html