版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/bocongbo/article/details/83898518
一、先说一下谷歌账号登录的方法
1、在谷歌浏览器,菜单->更多工具->扩展程序,添加谷歌访问助手
谷歌访问助手下载链接:https://pan.baidu.com/s/1eODbtu6iPOKEqPDacYYmUA
2、点击谷歌浏览器登录,注册谷歌账号,即可使用谷歌账号登录sourceTree
二、windows用户免登陆方法
1、安装到达登录界面,关闭掉
2、在我的电脑地址栏输入:
%LocalAppData%\Atlassian\SourceTree\
3、在这个目录下新建一个名为 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
}
]
4、保存文件后,再次打开sourceTree就可以直接进入了。