git版本控制軟件SourceTree

先佔個位git


git在windows上配置ssh公鑰github

 

一 .設置git的user name和email:windows

 

$ git config --global user.name "lxyz"ssh

 

$ git config --global user.email "1129103472@qq.com"it

 

二 生成密鑰email

 

ssh-keygen -t rsa -C 「1129103472@qq.com」配置

 

 按3個回車,密碼爲空。(不要輸密碼)rsa

 

而後到.ssh下面將id_rsa.pub裏的內容複製出來粘貼到github我的中心的帳戶設置的ssh key裏面密碼

相關文章
相關標籤/搜索