SourceTree如何跳过授权

SourceTree 安装之后需要使用账号登录授权,所以不是很方便,这里记录一下跳过这个初始化的步骤。

安装之后,转到用户本地文件夹下的 SourceTree 目录,没有则新建一个

%LocalAppData%\Atlassian\SourceTree\

新建 accounts.json 文件\

路径:%LocalAppData%\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

  }

]

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容