Mambro Mambro - 4 months ago 16
Git Question

Git Fetch returns 'fatal: I don't handle protocol https' in windows

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:

enter image description here

xam xam
Answer

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.