解決PyCharm上傳代碼到Github出現push failed: unable to acces

1. 問題描述:

在用PyCharm提交代碼到Github時突然報出以下錯誤,之前還沒有的,不知道我又踩了什麼奇怪的坑。。。
pycharm上傳GitHub時報錯:
push failed: unable to access 'https://github.com/Mbabysbreath/Python_Test/': SSL certificate problem: unable to get local issuer certificate

2.問題原因

提示SSL證書錯誤。這個錯誤並不重要是系統證書的問題,系統判斷到這個行爲會造成不良影響,所以進行了阻止,只要設置跳過SSL證書驗證就可以了

3. 問題解決

打開GitBash,命令行中輸入:

git config --global http.sslVerify false

解決PyCharm上傳代碼到Github出現push failed: unable to acces

參考文章:

https://blog.csdn.net/u012679583/article/details/54089331

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章