A command line tool to speed up cloning from GitHub.
npm i @esmyy/wogit -g
# from
git clone https://github.com/chalk/chalk.git
# to
wogit clone https://github.com/chalk/chalk.git
# keep other args, same as git
wogit clone https://github.com/chalk/chalk.git --depth=1
use wogit -h
to list available mirrors
➜ wogit -h
Usage: wogit [options]
Options:
-V, --version output the version number
-ge --gitee gitee mirror
-gc --gitclone gitclone mirror
-h, --help display help for command
for example
wogit clone https://github.com/chalk/chalk.git -ge
wogit clone https://github.com/chalk/chalk.git --gitee