[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

 

 问题最终被解决!

 

 

 

 

 

posted @ 2020-03-25 02:35  Ghost4C  阅读(2697)  评论(0编辑  收藏  举报