原文:VS2019連接Github,克隆報錯Git failed with a fatal error.Could not read from remote repository.

問題 具體如圖: 解決方案 將https改為http。 很少用github,看網上的解釋是跟密鑰有關,懶得研究了 實際是搞不懂 ,能解決問題就好了。 更新:應該跟這個有關,GitHub Desktop報錯 Authentication failed. Some common reasons include ...

2020-10-11 00:12 0 606 推薦指數:

查看詳情

git錯誤:fatal: Could not read from remote repository.解決

出現上述錯誤的原因是:運維將公司一台機子上的git私有倉庫遷移至另一台機子上了,導致之前對原先的機子上的代碼提交失效,沒有權限。 解決步驟: 以上。 ...

Wed Aug 12 19:03:00 CST 2020 0 4678
git push時報錯fatal: Could not read from remote repository.

后來發現,出現這個問題是因為倉庫地址不對 使用如下命令先查看一下: $ git remote -v 發現跟github的地址不一致 然后在終端輸入:git remote set-url origin XXX 然后重新push就可以了 ...

Sun Mar 25 19:29:00 CST 2018 0 21622
關於github報錯 ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from remote repository.

今天上午寫demo的時候,突然pull不下代碼了,報了一下這樣情況的錯誤: 看了一下代碼,懷疑是網路錯誤,因為在這以前一切都正常的,然后將代碼復制搜索了一番,解決辦法有很多什么配置config啦,git config --local -e啦,能試的都測試了,還是不行,最后,不想當時浪費 ...

Wed May 15 22:04:00 CST 2019 0 5186
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM