Skip to content

fishead/git-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]:fishead/git-proxy.git

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

Is it awesome

Yes.

Releases

No releases published

Packages

No packages published

Languages