Git Pull Failed
kex_exchange_identification: write: Connection reset by peer Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
git pull代码时,报错:
Git Pull Failed
kex_exchange_identification: write: Connection reset by peer Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
解决方案:
这个错误一般是由ssh出错导致 切换为https地址的即可
1、从ssh切换至https
git remote set-url origin(远程仓库名称) https://email/username/ProjectName.git
2、查看当前是ssh还是https
git remote -v
即可解决。