问题
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