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

相关推荐
琉璃榴1 小时前
Visual Studio Code连接远程服务器
服务器·vscode·github
darkb1rd2 小时前
wterm:Web 终端实战指南,WASM 赋能近原生体验
开源·github·好物分享
打不了嗝 ᥬ᭄2 小时前
Git 原理与使用
git·gitee
学习使我健康4 小时前
MVP模式
android·github·软件工程
m0_614619065 小时前
花了一下午学 Git,整理了一份学习笔记
笔记·git·学习
AGV算法笔记6 小时前
解决Git> git add -A -- fatal: CRLF would be replaced by LF in Test/Test.cpp
git
CoderJia程序员甲7 小时前
GitHub 热榜项目 - 日榜(2026-04-17)
ai·大模型·llm·github·ai教程
Dontla7 小时前
VSCode插件Git Graph介绍(Git可视化管理分支、可视化Git)
ide·git·vscode
阿里嘎多学长8 小时前
2026-04-17 GitHub 热点项目精选
开发语言·程序员·github·代码托管
Echoo华地8 小时前
用git diff快速比较文件夹差异并生成报告
linux·git·unix·repository·diff·branch