diff options
-rw-r--r-- | shellrc.d/git | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shellrc.d/git b/shellrc.d/git index 7c34846..2b2b441 100644 --- a/shellrc.d/git +++ b/shellrc.d/git @@ -52,3 +52,8 @@ gitbnew() { git branch "$1" HEAD gitbcheckout "$1" } + +# Git that uses SOCKS on my favorite port +sgit() { + ALL_PROXY=socks5h://localhost:8123 git "$@" +} |