fatal: unable to access 'https://github.com/xdd1997/PythonXdd.git/': Failed to connect to github.com port 443: Timed out


兩類錯誤: 

fatal: unable to access 'https://github.com/xdd1997/PythonXdd.git/': Failed to connect to github.com port 443: Timed out

ennnn,可能僅僅是因為網不好,或者pycharm重啟,, 很有可能是因為科學.網-代理所致 

反正我的是取消代理解決的。。。

先:

git config --global http.proxy http://127.0.0.1:1080
git config --global https.proxy http://127.0.0.1:1080

重啟git客戶端,再:

git config --global --unset http.proxy 
git config --global --unset https.proxy 

重啟git客戶端,再:

git add .
git commit -m "提交備注"
git push

en就是這樣解決的。

 還有。。。

warning: LF will be replaced by CRLF py. The file will have its origin

git config core.autocrlf false

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM