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

 

SourceTree安装包下载地址:node

连接: https://pan.baidu.com/s/1rOPQkfNqvLGcIeZNw0aAjw 密码: 42usgit

 

nodev6.9.0 和gitjson

 
而后就一波安装,先不要忙点启动,或者启动了也先关掉,进行下面这步操做:
 
找到: %LocalAppData%\Atlassian\SourceTree\ 安装路径后
 
  • 在这个目录下新建一个名为 accounts.json 的文件。spa

  • 使用 文本文档 打开这个文件,将如下内容复制到其中后保存。code

  • [
      {
        "$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
      }
    ]
    

    注意: Windows 系统文件后缀是默认隐藏的,须要先显示文件的后缀名,而后随便新建一个 文本文档 ,将文件全名改成 accounts.json 便可。blog

  • 注意:启动后会问你安装不安装一个什么东东,每次都拿不许,那么此次我亲测后,直接选择不安装就能够了。使用中速度很是的快

能够参考地址:https://www.jianshu.com/p/3478e2a214a1文档

相关文章
相关标签/搜索