来源:https://blog.csdn.net/t_332741160/article/details/79611303
SourceTree 是一个强大的git管理客户端,但是在使用最新版需要登录
----------------------------------------------------
1.打开 我的电脑,在最上方的地址栏直接输入以下地址
windows下
%LocalAppData%\Atlassian\SourceTree\
mac下
~/Library/Application Support/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就不需要登录了
4.轻松用:https://www.cnblogs.com/soundcode/p/7205295.html
---------------------
作者:www.weixuehu.com
来源:CSDN
原文:https://blog.csdn.net/t_332741160/article/details/79611303
版权声明:本文为博主原创文章,转载请附上博文链接!
所有评论(0)