打开GIT bash
写上命令:
1.git config --global user.name “XXX”
xxx代表你的用户名

2.git config --global user.email "XXX@XXX.com"
输入邮箱

3.生成一个新的SSH密钥
打开 Git Bash,输入如下命令,然后连续按三个回车即可:
ssh-keygen -t rsa -C "your_email@example.com"
然后会出来提示Enter file in which to save the key 后面是一个路径,你就会找到你想要的.ssh文件夹了

相关文章:

  • 2021-12-04
  • 2021-04-22
  • 2021-07-22
  • 2022-12-23
  • 2021-06-17
  • 2021-06-20
猜你喜欢
  • 2021-12-23
  • 2021-12-24
  • 2021-11-10
  • 2022-12-23
  • 2021-10-11
  • 2022-01-03
  • 2021-06-12
相关资源
相似解决方案