git命令使用
恶作剧 git
# 代码拉取
# 拉取代码
git clone https://xxx.git
1
2
2
# ❓代码拉取443
设置代理(clash)
# 设置 HTTP 代理
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
# 或者设置 SOCKS5 代理
git config --global http.proxy socks5://127.0.0.1:7890
git config --global https.proxy socks5://127.0.0.1:7890
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy
1
2
2