Git仓库:

使用当前目录时,需要初始化。

git init

git使用指定的私钥进行克隆

ssh_agent 代理:

在使用私钥时,每次登陆会输入口令,这时就需要ssh_agent来管理私钥,不需要每次再去手动输入。(免密登陆)

ssh-agent bash

git使用指定的私钥进行克隆

添加文件

ssh-add D:\xxxx\id_rsa.rsa

git使用指定的私钥进行克隆

克隆:

git clone 地址

 git使用指定的私钥进行克隆

 

相关文章:

  • 2022-12-23
  • 2021-11-25
  • 2021-11-20
  • 2022-12-23
  • 2021-08-26
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
猜你喜欢
  • 2021-08-30
相关资源
相似解决方案