安装git可视化工具时,需要强制注册,如何跳过,请按如下步骤执行

1.找到账号目录

C:\Users\"你的电脑用户名"\AppData\Local\Atlassian\SourceTree

2.新建文件

accounts.json

3.把如下内容写入文件并保存

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

4. 再次执行安装,碰到如下界面,现在如图

版本管理工具--免注册安装sourcetree_git

5.安装成功

版本管理工具--免注册安装sourcetree_gui_02