Skip to content

Instantly share code, notes, and snippets.

View ihidchaos's full-sized avatar

GuoYuchao ihidchaos

  • HooRii Technology Co., Ltd
  • China
  • 02:59 (UTC +08:00)
View GitHub Profile
@ihidchaos
ihidchaos / git_proxy
Last active December 26, 2019 02:37 — forked from chuyik/README.md
Git(Github) 设置代理(HTTP/SSH)
#!/bin/bash
#proxy for wsl
CMD=$1
echo "Choose:" $CMD
set()
{
git config --global http.proxy "http://192.168.123.63:7891"
git config --global https.proxy "http://192.168.123.63:7891"
export http_proxy=http://192.168.123.63:7891