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 小时前
git提交代码时所遇问题
大数据·git·elasticsearch
Dolphin_海豚1 小时前
到底是选 merge 还是选 rebase
git·面试·程序员
云和数据.ChenGuang2 小时前
采集Git相关日志(结合Filebeat)
大数据·git·elasticsearch
happygrilclh2 小时前
SVN转移服务器仓库后,旧服务器不能被访问的解决办法
github
starsky_walker3 小时前
【工具教程系列】--如何配置github的ssh
运维·ssh·github
逛逛GitHub3 小时前
最近爆火的人生K线!GitHub 上有开源,真的太有趣了。
github
苹果电脑的鑫鑫4 小时前
git如何撤销上次上传的内容
大数据·git·elasticsearch
Sapphire~5 小时前
Git --- Local Changes Prevent from Pull
git
UX20175 小时前
Git LFS 管理 Unity 大文件
git·unity
bad-Lz5 小时前
git代码库管理
大数据·git·elasticsearch