SourceTree安装包下载地址:
链接: https://pan.baidu.com/s/1rOPQkfNqvLGcIeZNw0aAjw 密码: 42us
nodev6.9.0 和git
链接:https://pan.baidu.com/s/1mRo0oQRmAxCoFH_7t46cXg 密码: hydj
然后就一波安装,先不要忙点启动,或者启动了也先关掉,进行下面这步操作:
找到:
%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
即可。 - 注意:启动后会问你安装不安装一个什么东东,每次都拿不准,那么这次我亲测后,直接选择不安装就可以了。使用中速度非常的快