SourceTree跳過初始設置

轉載https://www.cnblogs.com/xiofee/p/sourcetree_pass_initialization_setup.htmlhtml

 

如何跳過初始設置,只須要在安裝路徑中添加一個accounts.json的文件便可。其中Windows中默認安裝路徑:%LocalAppData%\Atlassian\SourceTree\,你能夠在正常註冊和使用的Source Tree中找到該文件。json

 

必定要注意安裝目錄下%LocalAppData%\Atlassian\SourceTree\ 新增spa

account.json的內容code

 

[
  {
    "$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
  }
]

 

 

而後從新打開Source Tree便可htm

相關文章
相關標籤/搜索