WIN10下 新版SourceTree(3.1.3) 跳过Atlassian账户 免登陆方法

2019-07-09阅读(3267)评论(0)牵着狗狗看MM

苏州实时公交查询

  1. 下载并安装好Git
  2. 打开目录C:\Users\XXXX\AppData\Local\Atlassian\SourceTree,XXXX为你当前的用户目录,创建并修改accounts.json文件如下

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

  3. 打开C:\Users\XXXX\AppData\Local\Atlassian\SourceTree.exe_Url_wqdtv3oppzegezgocz22bstjv2dynnpc(该目录可能不一致,找到以SourceTree.exe_Url_开头的即可。)
    接着进入”3.1.3.3158“目录,打开user.config文件,在SourceTree.Properties.Settings代码块内加入如下代码。

    [js]
    <setting name="AgreedToEULA" serializeAs="String">
    <value>True</value>
    </setting>
    <setting name="AgreedToEULAVersion" serializeAs="String">
    <value>20160201</value>
    </setting>

    [/js]

  4. 运行SourceTree安装文件,即可

如果弹出让你安装mecurial,选择”我不想使用mecurial”,即可

赞(4) 打赏
转载请注明来源:Web前端(W3Cways.com) - Web前端学习之路 » WIN10下 新版SourceTree(3.1.3) 跳过Atlassian账户 免登陆方法
分享到: 更多 (0)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏