老郑的博客

木叶飞舞之处,火亦生生不息!

sourceTree3.2.6 跳过注册的方法(最新)

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

4.到此目录修改user.conf 

 

C:\Users\admin\AppData\Local\Atlassian\SourceTree.exe_Url_whjdcqu3hkxeyh5zgm3fjxf5kb4dbwcp\3.1.3.3158 

 

<setting name="AgreedToEULA" serializeAs="String">
        <value>True</value>
</setting>
<setting name="AgreedToEULAVersion" serializeAs="String">
        <value>20160201</value>
</setting>

 

posted @ 2019-05-23 10:17  zyz1  阅读(1524)  评论(0编辑  收藏  举报