1. 程式人生 > 實用技巧 >sourcetree跳過註冊的方法 鹹魚plus

sourcetree跳過註冊的方法 鹹魚plus

找到 C:Users\Administrator\AppData\Local\Atlassian\SourceTree\目錄,把accounts.json檔案複製進去

accounts.json內容如下:



作者:鹹魚plus
連結:https://www.jianshu.com/p/cb04155ae433
來源:簡書
著作權歸作者所有。商業轉載請聯絡作者獲得授權,非商業轉載請註明出處。

建立檔案: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 }]

路徑展示,放入:accounts.json檔案

直接重啟一下快捷圖示,然後安裝一個內嵌版本的。

最後: