sourcetree免注册使用

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/m0_37686625/article/details/76644040

今天部门老大说让我用git的可视化工具sourcetree,兴高采烈的去下载了,准备克隆仓库的时候居然要注册,然后注册的那个页面打不开,百度一查,原来又是墙,无奈配了半天公司的代理服务器,各种问题,一配代理,qq消息都能发出去,但是网站打不开,无语了半天,找了个免注册的方法,共享


首先下载sourcetree,官网上下载比较慢,我是在csdn上下载的,

地址http://download.csdn.net/download/lsw1991abc/9392073

不用多说安装,然后找到在本地的sourcetree缓存文件,路径一般如下

C :\Users\Administrator\AppData\Local\Atlassian\SourceTree

前方高能(最主要的干货)


新建一个accounts.json文件(都是建一个.txt文件,然后改后缀),将如下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
  }
]

这样就可以免注册使用sourcetree了,耶

猜你喜欢

转载自blog.csdn.net/m0_37686625/article/details/76644040