git配置

1>
ssh-keygen -t rsa -C “邮箱"
c盘用户目录C:\Users\WXY\.ssh下.ssh问题,打开pub文件

上传公钥
登录到git后,点击右上角setting,然后点击”SSH Public Keys”,把自己的公钥复制到文本域中


2>

登录git绑定邮箱,在setting的Contact Information中

3>
git config --global user.name your_name  
git config --global user.email your_email  

4>
git clone git@github.com:wangaccout/test1.git

posted @ 2021-01-25 17:45  WXY!!!  阅读(63)  评论(0)    收藏  举报