-
在路径: C:\\Users\\Administrator\\AppData\\Local\\Atlassian\\SourceTree下找到accounts.json文件,如果没有就新建一个json后缀的accounts.json 文件。
-
将以下代码替换到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”: {
“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,你会发现直接跳过了登录那一步。
版权声明
本文仅代表作者观点,不代表百度立场。
本文系作者授权百度百家发表,未经许可,不得转载。



