1. 程式人生 > >sourcetree 跳過首次登錄

sourcetree 跳過首次登錄

model 隱藏文件 ins false 用戶 url clas 目錄 tla

定位到用戶緩存數據目錄:(需要在文件夾選項中 開啟不隱藏文件夾和不隱藏文件擴展名)
一般為: C:\Users\{用戶名}\AppData\Local\Atlassian
進入sourcetree目錄:C:\Users{用戶名}\AppData\Local\Atlassian\SourceTree
添加一個文件:
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 } ]

sourcetree 跳過首次登錄