####第一步

首先是下载安装包,可以从[官网]下载:(product-downloads.atlassian.com/software/so…

还可以下载以下百度云盘的安装包: 百度连接:(pan.baidu.com/s/1_BlPXwHO…) 提取码:gf7f ####第二步 接下来就是安装了,安装好以后,在轮到注册界面的时候,不要继续往下走,然后在你的本地地址栏输入以下路径:

%LocalAppData%\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
  }
]
复制代码

保存此文件。 ####第三步 重新启动sourcetree,和你安装以前的步骤一样,此时就没有注册界面了,也就说明跳过注册成功!