Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 727 Bytes

README.md

File metadata and controls

44 lines (31 loc) · 727 Bytes

wogit

A command line tool to speed up cloning from GitHub.

install

npm i @esmyy/wogit -g

usage

# 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

switch mirror

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