I am trying to fetch data from gitlab i am facing error

时光总嘲笑我的痴心妄想 提交于 2021-02-05 12:20:18

问题


I am trying to fetch my website content from git lab but unfortunately i am facing error please check below and how can i resolve this issue thanks.

   git fetch
    kex_exchange_identification: read: Connection reset by peer
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights

回答1:


I fixed this issue after I switched remote URL of git repo from SSH to HTTPS. My guess is that this is occurring because of some security conditions imposed by GIT server.

https://docs.github.com/en/free-pro-team@latest/github/using-git/changing-a-remotes-url



来源:https://stackoverflow.com/questions/64068890/i-am-trying-to-fetch-data-from-gitlab-i-am-facing-error

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!