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

相关推荐
AI_小站30 分钟前
6个GitHub爆火的免费大模型教程,助你快速进阶AI编程
人工智能·langchain·github·知识图谱·agent·llama·rag
xindoo32 分钟前
GitHub Trending霸榜!深度解析AI Coding辅助神器 Superpowers
人工智能·github
宁静的舞者36 分钟前
Git、GitHub、Codeup(云效代码仓库)详解
git·代码仓库·codeup·云效
第一程序员37 分钟前
GitHub Trending:Python数据科学工具新趋势
github
陈佬昔没带相机2 小时前
Git Worktree: AI 编程 Agent 并行开发的秘密武器
git·agent
ModestCoder_4 小时前
本地配置github登录与远程clone
github
星驰云5 小时前
LLS OAI 项目级会话记录模式 — 为 GitHub Copilot Chat 打造的智能日志助手:一键生成工作日志,告别繁琐汇报
github·copilot
redreamSo6 小时前
让AI Agent自动接Issue、写代码、上线:我用200行代码搭了一个全自动开发流水线
人工智能·开源·github
栈时没有名字7 小时前
git仓库管理,commit或push上传服务器失败问题
git·嵌入式
金銀銅鐵8 小时前
[git] 如何丢弃对一个文件的改动?
git·后端