SourceTree跳过注册直接使用

SourceTree下载好之后会有这么一个界面要求你注册或登录。(不管它)将下面的一串串放进我的电脑的地址栏,打开sourcetree的文件夹

%LocalAppData%\Atlassian\SourceTree\

通常长这样

对,没错,你会看到一个很不和谐的文件你是没有的

恩,就是它,所以接下来你应该在当前文件夹下创建一个json文件,文件名为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
  }
]

保存此文件。

 重新启动sourcetree,恩,哒~哒哒~~~

和之前不一样的界面,无需注册,一秒999级,我系渣渣辉,你没有玩过的全新版本,贪玩南粤????画风好像变得很奇特的样子。。。

咳咳,,就是这样,sourcetree已经跳过注册环节了。

posted @ 2018-09-04 13:11  你怪哉  阅读(82)  评论(0)    收藏  举报