SourceTree 3.x.x 跳过登录跳过注册
Posted _error
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SourceTree 3.x.x 跳过登录跳过注册相关的知识,希望对你有一定的参考价值。
目录:C:Users{用户}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:Users{用户}AppDataLocalAtlassianSourceTree.exe_Url_tjbt5p1kojzyitrzivajyj4ytxnk5zmi
接着打开类似 ‘ 3.3.6.3829 ’ 的目录,打开 user.config 并加入以下代码
<setting name="AgreedToEULA" serializeAs="String"> <value>True</value> </setting> <setting name="AgreedToEULAVersion" serializeAs="String"> <value>20160201</value> </setting>
这些代码置于 setting标签同级。保存后重启安装程序,若弹出Mercurial询问窗口,选择第一个选项下载即可
以上是关于SourceTree 3.x.x 跳过登录跳过注册的主要内容,如果未能解决你的问题,请参考以下文章