好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

git在windows上配置ssh公钥 - Windows操作系统 - 自学

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

 

查看更多关于git在windows上配置ssh公钥 - Windows操作系统 - 自学的详细内容...

  阅读:56次