sourcetree跳过注册的方法

 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即可.


点击克隆即可

然后就可以轻松使用啦

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容