SourceTree for Windows跳過登錄解決方法


來源: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
版權聲明:本文為博主原創文章,轉載請附上博文鏈接!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM