SourceTree跳过初始设置

本文介绍了一种跳过SourceTree首次启动时的初始化设置的方法,通过在安装目录下创建一个特定格式的accounts.json文件来实现。这种方法适用于希望快速开始使用SourceTree而不想经历繁琐配置流程的用户。

转载https://www.cnblogs.com/xiofee/p/sourcetree_pass_initialization_setup.html

 

如何跳过初始设置,只需要在安装路径中添加一个accounts.json的文件即可。其中Windows中默认安装路径:%LocalAppData%\Atlassian\SourceTree\,你可以在正常注册和使用的Source Tree中找到该文件。

 

一定要注意安装目录下%LocalAppData%\Atlassian\SourceTree\ 新增

account.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
  }
]

 

 

然后重新打开Source Tree即可

转载于:https://www.cnblogs.com/wen-zi/p/9013682.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值