git集成github(二)-- 遇见的问题与解决方法

1、share project on github时,弹出Cannot load information for github.com/zouxiaoya:Connection reset问题。

**解决方法:**pycharm-->setting-->version control-->github中,删除掉当前用户,点击reset重置即可。

2、 push到远程仓库时,Failed to connect github.com port 443 after 21091ms:Couldn't connect to server。

解决方法:

①找到你自己Git 安装路径下面的 git-bash.exe这个文件双击

② git config --global user.email "自己的邮箱"
git config --global user.name "自己的GitHub名"

如果这一步之后还是报错,一般出现这种问题都是开过VPN导致的本机系统端口号和git的端口号不一致导致的。还可以这样做:

①查看本机系统端口号:设置->网络和Internet->代理。

②设置git端口号和上面的端口号保持一致(我的是78990)

-----翻墙

git config --global http.proxy 127.0.0.1:10809

git config --global https.proxy 127.0.0.1:10809

----没翻墙

git config --global --unset http.proxy

git config --global --unset https.proxy

再次push 或者 pull 即可。

3、pycharm创建本地仓库时,遇到can not run git。

解决方法:修改为本地git安装地址。

相关推荐
逛逛GitHub14 小时前
推荐 11 个本周 yyds 的 GitHub 开源项目。
github
摸鱼仙人~15 小时前
GitHub高质量的开源博客项目推荐
开源·github
敲敲了个代码16 小时前
为什么 Electron 项目推荐使用 Monorepo 架构 [特殊字符][特殊字符][特殊字符]
前端·javascript·学习·架构·electron·github
CoderJia程序员甲17 小时前
GitHub 热榜项目 - 日榜(2025-10-29)
ai·开源·github·1024程序员节·ai教程
顾安r17 小时前
10.25 脚本 整理2024全年 GITHUB每周热门项目
linux·c语言·python·github·bash
油泼辣子多加18 小时前
2025年10月28日Github流行趋势
github
ab159694419718 小时前
白嫖 GitHub 当流水线
github
用户904438163246019 小时前
《零代码基础也能 AI 创作?GPT+DALL・E 实战教程,10 分钟上手》
前端·github
Java陈序员19 小时前
完全开源!一款基于 SpringBoot + Vue 构建的社区平台!
vue.js·spring boot·github·社区
inx17720 小时前
为什么要用Git?如何使用Git?
git