sourceTree 3.X免注册[学习]_飛雲_前端开发者

一、 在路径C:\****\AppData\Local\Atlassian\SourceTree下创建accounts.json文件

C:\****\AppData\Local\Atlassian\SourceTree

[        
  {
    "$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
  }
]

[
{
"$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行代码

C:\****\AppData\Local\Atlassian\SourceTree.exe_Url_rvhjoyheuswglmomkjmmedhk4lsdtqh0\3.0.12.2543<SourceTree.Properties.Settings>

<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>

<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>

三、 参考链接

参考链接

» 本文来自:前端开发者 » 《sourceTree 3.X免注册[学习]_飛雲_前端开发者》
» 本文链接地址:https://www.rokub.com/73813.html
» 您也可以订阅本站:https://www.rokub.com
赞(0)
64K

评论 抢沙发

评论前必须登录!