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安装地址。

相关推荐
miofly14 小时前
Nous Research微调Qwen3.8-27B,宣称可剥离中国官方立场内容
开源·github
用户29914221968020 小时前
GitHub 热榜项目:周榜(2026-11-08)
人工智能·开源·github
用户29914221968020 小时前
GitHub 热榜项目:日榜(2026-11-08)
人工智能·开源·github
miofly1 天前
GitHub 周榜趋势速报 | 2026-11-08
开源·github
miofly1 天前
GitHub 日榜趋势速报 | 2026-11-08
开源·github
miofly2 天前
百度开源ERNIE 5.5 Flash Base,总参数280B仅激活14B
开源·github
dong_junshuai2 天前
每天一个开源项目#154 Nushell:结构化管道怎样跨过文本边界
github
高调的涵涵2 天前
删了1.2GB,.git仍是1.2GB
git
Jason_gao9992 天前
Github Copilot 新手极速上手指南
人工智能·github·copilot
GitHub实测笔记2 天前
hexyl 本机实测:8MiB 转储中位 102ms、od 696ms(约 6.8×);默认双面板,NO_COLOR 下要 --color=force
github