一、下载sourcetree
官网下载:https://www.sourcetreeapp.com/
二、安装
执行下载好的文件SourceTreeSetup-3.3.8.exe,会进入到如下的注册界面,如果只是想使用软件,不想注册的话,就可按照此教程跳过步骤,如果注册可能会需要用的外网。
三、跳过注册
1、关闭上述安装窗口,打开 %LocalAppData%\Atlassian目录,接着进入SourceTree目录,创建accounts.json文件,并修改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": {