SourceTree跳過Atlassian賬號,免登陸,跳過初始設置
阿新 • • 發佈:2017-12-27
oca ini 未在 copy 直接 def cred 授權 users
SourceTree 安裝之後需要使用賬號登陸以授權,並且是強制登陸。
登錄過程非常漫長,並未在不FQ的情況下是不能成功的,下面記錄一下跳過登錄的方法。
裝之後,轉到用戶本地文件夾下的 SourceTree 目錄,找到accounts.json 文件,沒有則新建。
C:\Users\Administrator\AppData\Local\Atlassian\SourceTree
輸入以下內容保存即可
[ { "$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 } ]
現在再打開 SourceTree,直接顯示主窗口了。
SourceTree跳過Atlassian賬號,免登陸,跳過初始設置