sourcetree跳过注册

1. 进入目录%LocalAppData%\Atlassian\SourceTree\

 

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. 重新启动sourceTree即可发现已经跳过注册可以使用了