Skip to content

Commit eeb083c

Browse files
KuanlanKuanlan
authored andcommitted
git proxy helper
1 parent 2c0535f commit eeb083c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

scripts/git_set_proxy.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
git config --global http.proxy "socks5://127.0.0.1:7897"

scripts/git_unset_proxy.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
git config --global --unset http.proxy "socks5://127.0.0.1:7897"

0 commit comments

Comments
 (0)