gitclone
Clone a Github repository with only username/repo
and support options
Install
Install with npm
$ npm install gitclone -g
Flags
Flags can be used in any order.
-d
|--dest
{String} local destionation path-r
|--repo
{String} the repository to clone-b
|--branch
{String} the branch to clone-s
|--ssh
{Boolean} clone via SSH or HTTPS
Use cases
$ gitclone gulpjs/gulp
$ gitclone tunnckoCore/koa-better-body --branch v1.0.0
$ gitclone substack/minimist --dest cmds
$ gitclone userName/myAwesomeRepo --ssh --dest awesomeRepo
$ gitclone --branch v6.0.0 --repo assemble/assemble --ssh --dest mysite
Authors & Contributors
Charlike Mike Reagent
License
Copyright (c) 2014 Charlike Mike Reagent, contributors.
Released under the MIT
license.