Git 中文乱码
git config --global i18n.commitencoding utf-8git config --global i18n.logoutputencoding utf-8export LESSCHARSET=utf-8
git clone Connection refused
Failed to connect to 127.0.0.1 port 8123: Connection refused
是代理出错了,取消代理即可
# 查询是否使用代理:git config --global http.proxygit config --global https.proxy# 通过git取消代理设置$ git config --global --unset http.proxy$ git config --global --unset https.proxy# 查询系统环境有没有使用代理env|grep -I proxy# 通过系统命令取消代理$ unset http_proxy$ unset ftp_proxy$ unset all_proxy$ unset https_proxy$ unset no_proxy# 这样也可以export http_proxy=""export https_proxy=""export HTTP_PROXY=""export HTTPS_PROXY=""
