SourceTree for Windows跳过登录解决方法

SourceTree 是一个强大的git管理客户端,但是在使用最新版需要登录

----------------------------------------------------

1.打开 我的电脑,在最上方的地址栏直接输入以下地址

%LocalAppData%\Atlassian\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

猜你喜欢

转载自blog.csdn.net/t_332741160/article/details/79611303
今日推荐