首页 > 代码库 > SourceTree 启动不需要账号

SourceTree 启动不需要账号

*

安装SourceTree后,怎么绕过账号登录页面

1,C:\Users\Administrator\AppData\Local\Atlassian\SourceTree目录(具体情况按你的安装目录看)下手动创建 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
  }
]

2,然后重新启动就直接进来了,希望有帮助

*

SourceTree 启动不需要账号