git-proxy

command module
v0.0.0-...-7509db1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2020 License: MIT Imports: 11 Imported by: 0

README

git-proxy

中文

make git consume proxy env

How to install

go get github.com/fishead/git-proxy

How to use

Just prepend proxy before clone, fetch or push

# set http proxy
export HTTP_PROXY=http://127.0.0.1:1087

# or socks5 proxy
export SOCKS_SERVER=127.0.0.1:1087

# then
git proxy clone git@github.com:fishead/git-proxy.git

# or
git proxy clone https://github.com/fishead/git-proxy.git

Is it awesome

Yes.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL