SourceTree无法跳过注册问题及ssh公钥连接

SourceTree无法跳过注册问题及ssh公钥连接

    • 1.下载地址:https://www.sourcetreeapp.com/
    • 2.新建account.json文件,内容如下:
    • 3.打开%LocalAppData%\Atlassian\SourceTree\,将account.json文件拷贝到文件下;
    • 4.重启SourceTreeSetup.exe安装,选择允许,进行下一步安装;
    • 5.问题:SourceTree安装中添加account.json文件,无法跳过注册过程?
    • 6.密钥连接:
    • 7.选择目录空间和clone码云项目

1.下载地址:https://www.sourcetreeapp.com/

点击SourceTreeSetup.exe安装;

第一次安装会需要你的注册账号,然后关闭;

2.新建account.json文件,内容如下:

[
{
i d " : " 1 " , " id": "1", " id":"1","type”:
“SourceTree.Api.Host.Identity.Model.IdentityAccount,
SourceTree.Api.Host.Identity”,
“IsDefault”: false,
“Authenticate”:
true,
“HostInstance”: {
i d " : " 2 " , " id": "2", " id":"2","type”:
“SourceTree.Host.Atlassianaccount.AtlassianAccountInstance,
SourceTree.Host.AtlassianAccount”,
“Host”: {
i d " : " 3 " , " id": "3", " id":"3","type”:
“SourceTree.Host.Atlassianaccount.AtlassianAccountHost,
SourceTree.Host.AtlassianAccount”,
“Id”:
“atlassian account”
},
“BaseUrl”:
“https://id.atlassian.com/”
},
“Credentials”: {
i d " : " 4 " , " id": "4", " id":"4","type”:
“SourceTree.Api.Account.Basic.BasicAuthCredentials,
SourceTree.Api.Account.Basic”,
“Username”:
“”,
“Email”: null,
“AvatarURL”:
null,
“AuthenticationScheme”:
{
KaTeX parse error: Expected 'EOF', got '}' at position 252: …d": true }̲, "Id": "…ref”:
“1”
}
]

3.打开%LocalAppData%\Atlassian\SourceTree\,将account.json文件拷贝到文件下;

4.重启SourceTreeSetup.exe安装,选择允许,进行下一步安装;

5.问题:SourceTree安装中添加account.json文件,无法跳过注册过程?

发现是版本问题,使用较低版本,如2.6.10;

6.密钥连接:

A.HTTPS连接
在这里插入图片描述
注意:需关闭SSH助手,地址如下:
在这里插入图片描述

B.OpenSSH连接

1.在.ssh文件下打开git界面,输入ssh-keygen,然后三次回车生成密钥文件;

2.在码云中添加密钥,
在这里插入图片描述
3.添加密钥连接
在这里插入图片描述

7.选择目录空间和clone码云项目

在这里插入图片描述
SourceTree无法跳过注册问题及ssh公钥连接_第1张图片

你可能感兴趣的:(工具使用及相关问题)