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

前端 未结 8 1462
清酒与你
清酒与你 2021-01-11 19:10

Just after adding remote repo, I tried git fetch remoteRepoName but it\'s returning this error:

fatal: I don\'t handle protocol \'https\'

8条回答
  •  终归单人心
    2021-01-11 20:07

    This issue could be with the invalid origin URL.

    To check repo URL execute below command

    git remote -v
    

    it will show the origin urls and then change with correct url. The below is the command for that.

    git remote set-url origin https://github.com/**USERNAME/REPOSITORY**.git
    

    again verify with the command

    git remote -v
    

    for more information refer this link

    https://help.github.com/articles/changing-a-remote-s-url/

提交回复
热议问题