chenweichu

git在windows上配置ssh公钥

 
一 .设置git的user name和email:
 
$ git config --global user.name "lxyz"
 
$ git config --global user.email "1129103472@qq.com"
 
二 生成密钥
 
ssh-keygen -t rsa -C “1129103472@qq.com”
 
 按3个回车,密码为空。(不要输密码)
 
然后到.ssh下面将id_rsa.pub里的内容复制出来粘贴到github个人中心的账户设置的ssh key里面
 
git for windows下载地址:
 
http://code.google.com/p/msysgit/downloads/list
 
转自:http://www.2cto.com/os/201305/211731.html

分类:

技术点:

相关文章:

  • 2021-04-11
  • 2022-12-23
  • 2021-08-25
  • 2022-12-23
  • 2021-11-01
  • 2021-11-01
猜你喜欢
  • 2022-12-23
  • 2021-11-02
  • 2021-11-01
  • 2021-11-01
  • 2021-08-03
  • 2021-08-03
  • 2021-07-04
相关资源
相似解决方案