SourceTree windows免注册免登录使用方法

问题描述:json

安装SourceTree后,首次使用时,须要登陆帐号;但咱们在注册或登陆时,可能根本没法打开网页,致使不能进入。ui

以下截图:code

解决方法:blog

在目录C:\Users\XXXXX\AppData\Local\Atlassian\SourceTree 下建立文件accounts.json ip

注意:XXXXX表明登陆系统用户名it

accounts.json 中添加如下代码:io

[
{
"$id": "1",
"$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity",
"IsDefault": false,
"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.Api.Account.Basic.BasicAuthCredentials, SourceTree.Api.Account.Basic",
"Username": "username@email.com",
"Email": null,
"AvatarURL": null,
"AuthenticationScheme": {
"$type": "SourceTree.Api.Account.Basic.BasicAuthAuthenticationScheme, SourceTree.Api.Account.Basic",
"Value": "用户名/密码",
"Name": "Basic",
"Description": "密码",
"HeaderValuePrefix": "Basic",
"UsernameIsRequired": true
},
"Id": "username@email.com",
"EmailHash": "$2b$11$wgr1TJNVKwiK/dQBd3HKm.2vhJdNmcNbWtb1SQQGgocCxWzQCGZaW",
"DisplayName": null
}
}
]

从新启动软件后,提示信息以下截图:email

根据本身需求,下载安装;而后从新启动软件,就能够成功进入界面。登录

相关文章
相关标签/搜索