sourceTree 跳过登陆的方法

官网下载地址:https://www.sourcetreeapp.com/json

安装过程当中,出现如图所示:app

跳过方法,以下:spa

1. 进入本地SoureTree目录,命令:.net

%LocalAppData%\Atlassian\SourceTree\

2. 新建accounts.json文件,且输入内容:code

[
  {
    "$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. 再次尝试,若是依然没有跳过登陆,请经过命令blog

%LocalAppData%\Atlassian\

而后依次打开SourceTree.exe_Url_#####/3.1.2.3027/user.config文件get

添加以下内容:it

<setting name="AgreedToEULAVersion" serializeAs="String">
       <value>20160201</value>
</setting>

4. 再次尝试,就会提示以下界面:io

 

参考网址: http://www.javashuo.com/article/p-stnfdgey-db.htmlclass

感谢原做者的分享!!!

相关文章
相关标签/搜索