【20230404】git代理问题

1 代理不正确错误

fatal: unable to access ‘https://gitlab.gnome.org/GNOME/pango.git/’: gnutls_handshake() failed: The TLS connection was non-properly terminated.
【20230404】git代理问题_第1张图片

2 设定代理

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

3 取消代理

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

你可能感兴趣的:(日常笔记,git,github)