github设置ssh
右键git bash设置username,email
$ git config --global user.name 'aaaaddd'
$ git config --global user.email '1959531535@qq.com'
使用如下命令生成密钥对
$ ssh-keygen -t rsa -b 4096 -C "1959531535@qq.com"
$ ssh git@github.com
登陆你的github帐户。点击你的头像,然后 Settings -> 左栏点击 SSH and GPG keys -> 点击 New SSH key
然后你复制上面的公钥内容,粘贴进“Key”文本域内。 title域,自己随便起个名字