Source Tree时免登录安装

安装Source Tree时需要登录账号才能进行下一步的工具安装,但有时登录界面总是刷新不出来,VPN也不行,可以采用以下方法,亲测可用!!!

 

%LocalAppData%\Atlassian\SourceTree\accounts.json 在此路径下新建一个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
  }
]

posted @ 2018-09-18 11:37  漂泊。。  阅读(200)  评论(0编辑  收藏  举报