SourceTree跳过初始设置

如何跳过初始设置,只需要在安装路径中添加一个accounts.json的文件即可。其中Windows中默认安装路径:%LocalAppData%\Atlassian\SourceTree\,你可以在正常注册和使用的Source Tree中找到该文件。

一定要注意安装目录下%LocalAppData%\Atlassian\SourceTree\ 新增

account.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
  }
]

然后重新打开Source Tree即可

猜你喜欢

转载自www.cnblogs.com/wen-zi/p/9013682.html