source tree跳过登入的方法window

Code~

https://www.cnblogs.com/SkyflyBird/p/10834780.html

如果编写了错误的内容请指出,否则会误导很多人

随笔 - 103  文章 - 4  评论 - 0

sourceTree 跳过登录的方法

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

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

source tree跳过登入的方法window_第1张图片

跳过方法,如下:

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

source tree跳过登入的方法window_第2张图片

添加如下内容:


       20160201

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

source tree跳过登入的方法window_第3张图片

 

参考网址: https://my.oschina.net/u/868789/blog/2208147

感谢原作者的分享!!!

你可能感兴趣的:(git)