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

    转载:https://www.cnblogs.com/lucio110/p/8192792.html

    sourcetree跳过注册的方法

     

    当前只有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

  • 相关阅读:
    Spring-3
    Spring-2
    Spring-1
    SpringMVC-视图解析器
    SpringMVC起步
    jsp中引用的jstl 和fmt标签-详解
    Spring-JDBCTemplate介绍
    Spring框架详解介绍-基本使用方法
    VIP邮箱有什么好处,北京外贸邮箱品牌原来这个最好用?
    网易企业邮箱申请,申请企业邮箱流程分享~
  • 原文地址:https://www.cnblogs.com/ConfidentLiu/p/10410885.html
Copyright © 2011-2022 走看看