sourcetree跳过登录的方法
sourcetree是款免费的Git可视化工具,对于版本库较小的Git项目进行管理非常方便。但是sourcetree安装后第一次使用需要登录bitbucket帐号(最新版),由于某些原因登录帐号有困难,下面介绍一下如果跳过登录。

1、安装sourcetree

下载地址:https://www.sourcetreeapp.com/
2、安装之后,转到用户本地文件夹下的 SourceTree 目录,没有则新建

%LocalAppData%\Atlassian\SourceTree\
3、新建 accounts.json 文件

4、输入以下内家保存即可

[
{
“$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
}
]
5、再次打开sourcetree不再提示登录

sourcetree跳过登陆

Comments are closed.

Post Navigation