跳转到帖子

报错如图显示:

image.png

 

问题解决:

修改app.yml文件,新增一条配置代码引入国内镜像源配置文件

- "templates/web.china.template.yml"

如果出现github.com报错的话需要设置一下代理

vim /etc/profile
# 添加自己实际情况,添加以下内容
export https_proxy=http://user:passwd@IP:58963
export all_proxy=socks5://IP:38476
# 执行生效
source /etc/profile

 

配置socks5代理

git config --global http.proxy socks5 127.0.0.1:7890
git config --global https.proxy socks5 127.0.0.1:7890

配置http代理

git config --global http.proxy 127.0.0.1:7890
git config --global https.proxy 127.0.0.1:7890

取消http代理

git config --global --unset http.proxy
git config --global --unset https.proxy

 

1篇意见

推荐意见

  • 网站管理
# 检查全局代理设置
git config --global --get http.proxy
git config --global --get https.proxy

# 移除全局代理设置
git config --global --unset http.proxy
git config --global --unset https.proxy

# 检查并移除本地仓库代理设置
cd /path/to/your/repository
git config --get http.proxy
git config --get https.proxy
git config --unset http.proxy
git config --unset https.proxy

# 确认代理已被移除
git config --global --get http.proxy
git config --global --get https.proxy
git config --get http.proxy
git config --get https.proxy

# 检查并移除环境变量
unset http_proxy
unset https_proxy
unset socks_proxy

 

游客
添加意见…