错误问题:
今天,push代码时push失败,报下面这个错误
Push failed
Ssh_exchange_identification: read: Software caused connection abort
Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
解决方法:
修改工程目录下.git目录中config文件
[remote "origin"]
url = git@项目地址 替换成 url = https://****
同时,又报以下错误:
Push failed: Unable to access 'https://192.168.66.211/bdp/CLI.git/': SSL certificate problem: self signed certificate
修改方法:git config --global http.sslVerify false
修改完成后,再次push,push成功!