[SourceTree跳过Atlassian账号,免登陆,跳过初始设置]安装

1.下载SourceTree

https://www.sourcetreeapp.com/

2. 跳过Atlassian验证

  • 找到以下路径: 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
  }
]

3. 正常安装

参考:
SourceTree跳过Atlassian账号,免登陆,跳过初始设置

4.解决sourcetree git ssh私钥问题

[SourceTree跳过Atlassian账号,免登陆,跳过初始设置]安装_第1张图片
SSH认证失败

打开菜单中的 工具->选项->SSH客户端配置,将SSH客户端选择OpenSSH,然后确定。
我就是这样解决的。

你可能感兴趣的:([SourceTree跳过Atlassian账号,免登陆,跳过初始设置]安装)