SourceTree的安装配置跳过注册

1.下载并执行SourceTreeSetup-3.1.3.exe,会进入登录或注册bitbucket的界面,先别急着操作,继续往下看。
在这里插入图片描述

2.关闭上述安装窗口,打开 %LocalAppData%\Atlassian目录(win+r打开命令模式,把%LocalAppData%\Atlassian放到输入框,回车即可),接着进入SourceTree目录,创建accounts.json文件,并修改accounts.json内容如下:
[
{
i d " : " 1 " , " id": "1", " id":"1","type”: “SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity”,
“Authenticate”: true,
“HostInstance”: {
i d " : " 2 " , " id": "2", " id":"2","type”: “SourceTree.Host.Atlassianaccount.AtlassianAccountInstance, SourceTree.Host.AtlassianAccount”,
“Host”: {
i d " : " 3 " , " id": "3", " id":"3","type”: “SourceTree.Host.Atlassianaccount.AtlassianAccountHost, SourceTree.Host.AtlassianAccount”,
“Id”: “atlassian account”
},
“BaseUrl”: “https://id.atlassian.com/”
},
“Credentials”: {
i d " : " 4 " , " id": "4", " id":"4","type”: “SourceTree.Model.BasicAuthCredentials, SourceTree.Api.Account”,
“Username”: “”,
“Email”: null
},
“IsDefault”: false
}
]
在这里插入图片描述

3.打开 %LocalAppData%\Atlassian,进入“SourceTree.exe_Url_iayhtc13zv3obzuz5vchezjs1az2q5ef”(注该目录可能和版本相关,不同版本的路径可能不完全一样。)
接着进入"3.1.3.3158"目录,打开user.config文件,在里面加入六行代码。

True


20160201

在这里插入图片描述

4.再次执行SourceTreeSetup-3.1.3.exe,此处可能会出现如下二种情况,
情况一就进入下一步安装。
在这里插入图片描述

情况二:弹出Mercurial询问窗口,可以根据实际情况做相应的选择,比如使用默认选项下载Mercurial,或者使用第四个选项“我不想使用Mercurial”。直接用第一个选项即可!
在这里插入图片描述

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值