美文网首页think PHP
sourcetree跳过注册的方法

sourcetree跳过注册的方法

作者: 枫林雨落 | 来源:发表于2019-03-30 17:07 被阅读0次

 sourcetree下载

没有安装.NET的会提示先安装.NET

点击同意即可 提示注册 提示注册

到这就先关掉,然后打开我的电脑,将下面代码粘贴到地址栏

%LocalAppData%\Atlassian\SourceTree\

打开就会看到

要创建一个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就好啦,跳过注册,会选择用什么Git

选择Git

如果使用git客户端,选择我不想使用Mercurial即可.

点击克隆即可

然后就可以轻松使用啦

相关文章

网友评论

    本文标题:sourcetree跳过注册的方法

    本文链接:https://www.haomeiwen.com/subject/hpksbqtx.html