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

前端 未结 8 1427
清酒与你
清酒与你 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 19:57

    if you have problems after run

    git push origin master
    fatal: I don't handle protocol 'https'
    


    Fix it removing that reference

    git remote rm origin
    #then check is all worked well
    git remote -v
    

    Now you could add again the url for the remote repository

    git remote add origin https://example.com/user/repo.git
    #and check
    git remote -v
    #And push the changes in your local repository to github
    git push origin master
    

提交回复
热议问题