Git笔记-Connection reset by 13.229.188.59 port 22 fatal: Could not read from remote repository.
生活随笔
收集整理的這篇文章主要介紹了
Git笔记-Connection reset by 13.229.188.59 port 22 fatal: Could not read from remote repository.
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
這個問題發(fā)送在突然的某一天,我使用git push上傳不了自己的代碼到倉庫了如下圖所示:
這里用如下的方式解決這個問題:
ssh-kyegen -t rsa -C "GitHub的用戶名" #當(dāng)出現(xiàn)OverWrite的時候,輸入y #隨后一直回車即可 git remote add origin https://github.com/在GitHub上找如果出現(xiàn)fatal: remote origin already exits.
就使用
git remote rm origin然后再重復(fù)上面的
git remote add origin https://github.com/在GitHub上找然后就可以了,照著以前的思路來:
git add . git commit -m "XXXXXX" git push -u origin master即可
總結(jié)
以上是生活随笔為你收集整理的Git笔记-Connection reset by 13.229.188.59 port 22 fatal: Could not read from remote repository.的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: MySQL工作笔记-编写存储过程批量添加
- 下一篇: HTTP之Last-Modified、E