错误再现
解决方案:设置SSH Key
git_bash_here_3">第一步:右击git bash here,命令行输入
$ git config --global user.name “hcshow” //配置用户名
$ git config --global user.email “hcitlife@hotmail.com” //配置用户邮箱地址
此时可以查看用户名等信息:
$ git config user.name //查看用户名
$ git config user.email //查看用户邮箱地址
$ git config -l //查看所有配置
第二步:生成公钥和私钥,命令行输入并回车三次
ssh-keygen -t rsa -C “hcitlife@hotmail.com”
第四步:输入命令行:
cd ~/.ssh
cat id_rsa.pub ——查看公钥(将公钥复制保留,一会用到)