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

时间:2023-03-09 19:31:02
SourceTree 免登录跳过初始设置的方法 for Windows

SourceTree安装包下载地址:

链接: https://pan.baidu.com/s/1rOPQkfNqvLGcIeZNw0aAjw 密码: 42us

nodev6.9.0 和git

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

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

  • [
    {
    "$id": "",
    "$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity",
    "Authenticate": true,
    "HostInstance": {
    "$id": "",
    "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountInstance, SourceTree.Host.AtlassianAccount",
    "Host": {
    "$id": "",
    "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountHost, SourceTree.Host.AtlassianAccount",
    "Id": "atlassian account"
    },
    "BaseUrl": "https://id.atlassian.com/"
    },
    "Credentials": {
    "$id": "",
    "$type": "SourceTree.Model.BasicAuthCredentials, SourceTree.Api.Account",
    "Username": "",
    "Email": null
    },
    "IsDefault": false
    }
    ]

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

  • 注意:启动后会问你安装不安装一个什么东东,每次都拿不准,那么这次我亲测后,直接选择不安装就可以了。使用中速度非常的快

可以参考地址:https://www.jianshu.com/p/3478e2a214a1