git设置上游分支以及解决Connection reset by IP port 22 fatal: Could not read from remote repository.


git设置上游分支以及解决Connection reset by IP port 22 fatal: Could not read from remote repository

git设置上游分支

git branch --set-upstream-to=origin/master master

解决Connection reset by IP port 22 fatal: Could not read from remote repository

重新生成ssh key

ssh-keygen -t rsa -C "youremail@xx.com"

使用http连接

上述方法没用的话,可以使用http连接试试


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM