Windows 版 SourceTree 免登陆跳过初始设置的方法

SourceTree 免登陆跳过初始设置的方法

做者:Jonzzs
连接:https://www.jianshu.com/p/3478e2a214a1
來源:简书
著做权归做者全部。商业转载请联系做者得到受权,非商业转载请注明出处。json

  • 首先,安装完 SourceTree 之后先运行一次,弹出初始化登陆页面后退出。spa

  • 打开 个人电脑,在最上方的地址栏直接输入如下地址:code

  • 使用Notepad++新建一个文件,将如下内容复制到其中后将文件保存为json格式,文件名为accounts。it

  • [
      {
        "$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选择最后一个选项就能直接使用sourcetree了登录

相关文章
相关标签/搜索