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

相关推荐
大侠Luffy17 分钟前
用 EmbeddingGemma 2 做一个本地照片与短视频搜索工具
开源·github·ai编程
咖啡色格调21 分钟前
项目已托管在 Gitee,如何同时推送到 GitHub
gitee·github
人人都是软件工程师29 分钟前
前端接了 Agent,为什么还是满屏自定义代码?读懂 AG-UI 的 31 个事件
人工智能·github
怕浪猫1 小时前
GLM-5.4 深度拆解:750B 参数如何「循环」出 2-3T 级智能?
算法·面试·github
李永奉2 小时前
Git和GitHub-Git 管理的版本数据到底保存在哪个文件夹里?
git·github
Mortalbreeze3 小时前
Git 基础篇(二):本地仓库管理与常用操作
git
wflynn19 小时前
GitHub 今日推荐|univer:可嵌入 Web 应用的开源 Office 引擎
typescript·开源·github·doc·collaboration·board
dong_junshuai19 小时前
每天一个开源项目#163 Ghost Downloader:分块下载为何不用合并
github
网易云信20 小时前
AI 写 IM 集成总用错 API?用云信 AI Skills 把文档接进开发流程
github
猛码象限20 小时前
【GitHub 周报】换血八成,注意力从造 Agent 转向管 Agent
github·业界资讯