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

相关推荐
东北甜妹11 小时前
GitLab配置步骤
git
JavaGuide13 小时前
Claude Code 怎么学?推荐 4 个高质量开源教程,从入门到实战
github·ai编程·claude
我命由我1234514 小时前
Android 开发问题:Could not find com.github.PicnicSupermarket:FingerPaintView:1.2.
android·github·android studio·安卓·android jetpack·android-studio·android runtime
行走__Wz14 小时前
本地项目初次上传到GitHub教程
github
CoderJia程序员甲15 小时前
GitHub 热榜项目 - 周榜(2026-05-31)
ai·大模型·llm·github·ai教程
恋喵大鲤鱼15 小时前
git add
git·git add
jiayong2316 小时前
CI/CD深度解析01-核心概念与原理
运维·git·ci/cd
天麓16 小时前
git 切换用户和邮箱的方法
git
zandy101116 小时前
Hermes Agent 2026年6月最新安装教程
docker·github·agent
科技道人17 小时前
Launcher allapps界面顶部推荐的app
git·github·launcher·allapps