Windows
安装过程中,出现如图所示:
跳过方法,如下:
1. 进入本地SoureTree目录,命令:
%LocalAppData%\Atlassian\SourceTree\
2. 新建accounts.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. 再次尝试,如果依然没有跳过登录,请通过命令
%LocalAppData%\Atlassian\
然后依次打开SourceTree.exe_Url_#####/3.1.2.3027/user.config文件
添加如下内容:
20160201
4. 再次尝试,就会提示如下界面:
Mac:
为了同步使用,结果发现SourceTree的最新版本需要Mac OS 10.14以上支持,为此不得不使用SourceTree 2.x 版本。
SourceTree历史版本下载: https://www.sourcetreeapp.com/download-archives
跳过步骤:
1. 下载2.x版本成功后,解压目录,打开SourceTree,Mac会提示将SourceTree移动到应用程序中,同意即可。然后关闭SourceTree
2. 打开应用程序 -> SourceTree -> 右键显示包内容
3. 在finder的右上角搜索栏处,搜索“Atlassian”,搜索选择“Contents”
4. 搜索到的内容,全部删除
5. 再次打开SourceTree即可。