SourceTree 启动不须要帐号

*json

安装SourceTree后,怎么绕过帐号登陆页面spa

1,C:\Users\Administrator\AppData\Local\Atlassian\SourceTree目录(具体状况按你的安装目录看)下手动建立 accounts.json,code

内容是:blog

[
  {
    "$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
  }
]

2,而后从新启动就直接进来了,但愿有帮助it

*class

相关文章
相关标签/搜索