SourceTree跳过注册安装使用
下载链接 https://www.sourcetreeapp.com/
这个时候会要求注册账号,这个时候关掉就可以了
我们进入%LocalAppData%\Atlassian\SourceTree\
目录
创建一个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
}
]
然后打开安装好的Sourcetree
软件
会重新进入到界面
我们直接下一步,会提示我们注册完成了.
继续下一步,会让你选择用什么git
如果使用git客户端,选择我不想使用Mercurial即可
.
这样就直接安装完成了.