Skip to content

Instantly share code, notes, and snippets.

View ihidchaos's full-sized avatar

GuoYuchao ihidchaos

  • HooRii Technology Co., Ltd
  • China
  • 18:06 (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
{
"pkg": {
"name": "pkg_name",
"category": "dev_tool",
"desc": "say something",
"maintainer": "who you are",
"contact": "anything"
},
"link": {
"link_main": "git or script or others which can get dl link",