老版sourceTree跳过注册安装方法

重装系统后,今天在网上找了个老版本的sourceTree

然后把以下内容复制到C:\Users\Administrator\AppData\Local\Atlassian\SourceTree文件里放入新建(或修改)accounts.json并双击重新安装--选择‘我不想使用Mercurial’--安装成功

 

[
  {
    "$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 @ 2020-07-15 15:07  开往秋天  阅读(310)  评论(0)    收藏  举报