在Windows中,Git Fetch返回'致命的:我不处理协议https' [英] Git Fetch returns 'fatal: I don't handle protocol https' in windows
本文介绍了在Windows中,Git Fetch返回'致命的:我不处理协议https'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在添加远程回购后,我尝试了 git fetch remoteRepoName
,但它返回了这个错误:
fatal:我不处理协议'https'
我探讨了相关的问题,但其中大多数属于 git clone
所以他们的回答在我的情况下不起作用。这里有一个截图:
解决方案 div>
我可以在forkgeek和https:// ... online 3之间看到额外的空格。
运行这些命令修复它。
git remote删除forkgeek
git remote add upstream https://github.com/forkgeeks/aws-cloudwatch-keen -integration.git
git fetch upstream
我已将forkgeek更改为上游,你可以有任何你想要的名字。
Just after adding remote repo, I tried git fetch remoteRepoName
but it's returning this error:
fatal: I don't handle protocol 'https'
I explored relevant questions but most of these belongs to git clone
so their answers aren't working in my case. Here's a screenshot:
解决方案
I can see extra spaces between forkgeek and https://... online 3.
Run these commands to fix it.
git remote remove forkgeek
git remote add upstream https://github.com/forkgeeks/aws-cloudwatch-keen-integration.git
git fetch upstream
I have changed forkgeek into upstream, you can have whatever name you want.
这篇关于在Windows中,Git Fetch返回'致命的:我不处理协议https'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文