Git ssh ******

1、右键 “Git Bash here”

Git ssh ******

 

2、进入.ssh文件夹。如果提示 “ No such file or directory”,你可以手动的创建一个 .ssh文件夹即可

mkdir ~/.ssh 

Git ssh ******

3、配置全局的name和email

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

4、生成key

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

连续按三次回车,这里设置的密码就为空了,并且创建了key

5、打开Admin目录进入.ssh文件夹,用记事本打开id_rsa.pub。复制到github

posted @ 2017-09-08 09:45 懒牛拉车 阅读(...) 评论(...) 编辑 收藏

相关文章:

  • 2022-02-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-28
  • 2021-09-07
  • 2022-01-03
  • 2021-04-03
猜你喜欢
  • 2022-01-09
  • 2021-06-01
  • 2021-11-19
  • 2021-06-30
  • 2022-12-23
  • 2021-11-23
相关资源
相似解决方案