1、使用SSH连接Github
①检查现有ssh
②重新生成ssh,并将之添加到ssh-agent
③添加ssh keys到github账户中
④正常使用
2、git命令
①安装git

yum install git

②配置git

git config --global user.name "Your name"
git config --global user.email "[email protected]"

③查看配置

git config --list

④生成ssh秘钥

ssh-****** -t rsa -C "[email protected]"

git安装及github上传文档
查看生成文件
git安装及github上传文档
⑤在github账户中添加你的ssh key
git安装及github上传文档
⑥连接测试

ssh -T [email protected]

⑦使用所给命令上传或修改文件

git安装及github上传文档

如有问题可联系QQ2057359164 Github:https://github.com/Jenychen1996

相关文章:

  • 2021-09-22
  • 2021-11-26
  • 2022-02-25
  • 2021-12-16
  • 2021-11-23
  • 2021-11-01
  • 2022-01-10
  • 2022-12-23
猜你喜欢
  • 2021-07-08
  • 2021-11-29
  • 2021-12-09
  • 2021-07-01
  • 2022-12-23
  • 2021-07-06
相关资源
相似解决方案