sourceTree 跳過註冊的方法

1.下載好以後會有這麼一個界面要求你註冊或登陸。(無論它)將下面的一串串放進個人電腦的地址欄,打開sourcetree的文件夾
 %LocalAppData%\Atlassian\SourceTree\
2.在該目錄下建立一個json文件,文件名爲accounts.json內容
3.而後保存文件從新啓動既可

[
{
  "$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
}
]
相關文章
相關標籤/搜索