range

If there were you, the world would be just right

在项目管理中常用到git,命令号模式不太友好,故安装SourceTree可视化工具。
1、安装git
2、环境windows生成 ssh key

 ssh-keygen -t rsa -C "email@email.com"

3、安装sourcetree - 跳过注册的方法

  1. 进入目录
    %LocalAppData%AtlassianSourceTree\
  2. 创建一个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
  }
]

4、sourcetree配置ppkey
1.png

2.jpg