[git] fatal:protocol 'https' is not support

git remote add origin https://xxxxxx #添加远程仓库
git fetch origin master #将远程仓库的最新的内容拉取到本地

  

然后出现了如下问题:

思路:

进入到本地仓库目录下的.git 文件夹下,打开 config 文件发现原来我的 远程仓库的URL出现了问题:

解决办法:

将 url 等号后的<0x96>删除并保存config 文件,然后

git fetch origin master

 问题最终被解决!

 

 

猜你喜欢

转载自www.cnblogs.com/Ghost4C-QH/p/12563636.html