因为Github 禁用了TLS v1.0 and v1.1,须更新Windows的git凭证管理器。git
https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/v1.14.0github
点击下载安装 GCMW-1.14.0.exe ,问题就解决了。缓存
附加将本地项目上传到Github的流程命令:url
一、选择要上传的项目而后右击选择Git Bash Herespa
二、在命令行中输入git init把这个文件夹变成Git可管理的仓库命令行
三、输入 git add . (注意这个".",是有空格的,"."表明这个文件夹下的目录所有都提交。也能够经过 "git add 文件名" 把指定的文件添加到缓存区3d
四、输入 git commit -m "这里面写你的注释" ,把文件提交的本地仓库blog
五、输入 git remote add origin https://本身的仓库url地址 , 将本地的仓库关联到github上,rem
仓库url地址如图:get
六、输入 git push -u origin master ,上传到github仓库。