为了能够不用输入密码访问git库(github/gitlab),需要使用ssh key
ssh-keygen -t rsa -C "<your email address>",把邮箱部分替换成你自己的邮箱,一路“回车”。系统会在你的home目录下新建一个.ssh文件夹
生产成功之后输入:cat ~/.ssh/id_rsa.pub 查看公钥内容

相关文章:

  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-18
  • 2021-06-17
  • 2021-09-18
猜你喜欢
  • 2021-10-21
  • 2022-03-06
  • 2022-02-14
  • 2022-02-15
  • 2021-11-22
相关资源
相似解决方案