sourceTree免登陆安装

1.直接在计算机的目录栏里输入: %LocalAppData%\Atlassian\SourceTree\

直接回车后即可跳转到SourceTree的指定目录。

2. 新建 accounts.json 文件,直接放在刚打开的根目录。

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,已经可以进入主窗口了。

猜你喜欢

转载自oedy.iteye.com/blog/2380114