sourceTree 3.X免注册[学习]

一、 在路径C:\****\AppData\Local\Atlassian\SourceTree下创建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:\****\AppData\Local\Atlassian\SourceTree.exe_Url_rvhjoyheuswglmomkjmmedhk4lsdtqh0\3.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>
三、 参考链接
posted @ 2019-10-22 15:48  Barrett_07  阅读(377)  评论(0编辑  收藏  举报