最近公司更换了Git服务器,重新拉取代码后报错了。
ssh_exchange_identification: read: Connection reset by peer
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
原因是Git服务器 设置了IP白名单 , 将你的公网IP在对应的服务器设置一下就好了。