zoukankan      html  css  js  c++  java
  • sourcetree跳过注册的方法

    From: https://www.cnblogs.com/lucio110/p/8192792.html

    当前只有Win的版本,Mac自行百度(笑)

    很多人用git命令行不熟练,那么可以尝试使用sourcetree进行操作。

    然鹅~~sourcetree又一个比较严肃的问题就是,很多人不会跳过注册或者操作注册。

    废话不多,我们直接开始跳过注册阶段的操作。

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

    %LocalAppData%AtlassianSourceTree

    通常长这样

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

    恩,就是它,所以接下来你应该在当前文件夹下创建一个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已经跳过注册环节了。

  • 相关阅读:
    HashMap按键排序和按值排序
    LeetCode 91. Decode Ways
    LeetCode 459. Repeated Substring Pattern
    JVM
    LeetCode 385. Mini Parse
    LeetCode 319. Bulb Switcher
    LeetCode 343. Integer Break
    LeetCode 397. Integer Replacement
    LeetCode 3. Longest Substring Without Repeating Characters
    linux-网络数据包抓取-tcpdump
  • 原文地址:https://www.cnblogs.com/joeblackzqq/p/10772889.html
Copyright © 2011-2022 走看看