SourceTree的安装与简单使用
1、官网安装
https://www.sourcetreeapp.com/
2、在C:\Users\Administrator\AppData\Local\Atlassian\SourceTree(或者直接复制:
%LocalAppData%\Atlassian\SourceTree\
到“我的电脑”的路径,可直接跳转)这个目录下新建account.json文件:内容为:
[
{
"$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
}
]
3、再次点击.exe文件安装:
4、看到如下界面,选择不想使用:
5、安装成功可以正常使用: