• 生成**对
    ssh-****** -t rsa -C "[email protected]"

  • 复制./ssh/id_rsa.pubgithub/account/ssh
    git、github、ssh免密链接、git push
    git、github、ssh免密链接、git push

  • 添加全局设置
    git config --global user.email “[email protected]
    git config --global user.name “williamlfang”

  • 进行一次验证操作(确认时输入yes
    ssh -T [email protected]

  • git push 就可以直接推送到仓库了,不需要每次都输入用户名和密码了
    参考文章:Github使用SSH免密码登录

相关文章:

  • 2021-07-28
  • 2021-07-05
  • 2021-11-12
  • 2021-08-04
  • 2021-06-20
  • 2021-10-19
  • 2022-12-23
  • 2021-10-21
猜你喜欢
  • 2021-11-25
  • 2022-12-23
  • 2022-12-23
  • 2021-08-02
  • 2021-08-07
  • 2022-12-23
相关资源
相似解决方案