Code~
https://www.cnblogs.com/SkyflyBird/p/10834780.html
如果编写了错误的内容请指出,否则会误导很多人
随笔 - 103 文章 - 4 评论 - 0
sourceTree 跳过登录的方法
官网下载地址:https://www.sourcetreeapp.com/
安装过程中,出现如图所示:
跳过方法,如下:
1. 进入本地SoureTree目录,命令:
%LocalAppData%\Atlassian\SourceTree\
2. 新建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 } ]
3. 再次尝试,如果依然没有跳过登录,请通过命令
%LocalAppData%\Atlassian\
然后依次打开SourceTree.exe_Url_#####/3.1.2.3027/user.config文件
添加如下内容:
<setting name="AgreedToEULAVersion" serializeAs="String"> <value>20160201</value> </setting>
4. 再次尝试,就会提示如下界面:
参考网址: https://my.oschina.net/u/868789/blog/2208147
感谢原作者的分享!!!