git-clone
Clone a git repository
Last updated 5 years ago by jaz303 .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install git-clone 
SYNC missed versions from official npm registry.

git-clone

Clone a git repository via shell command.

Installation

Install:

$ npm install git-clone

Require:

var clone = require('git-clone');

API

clone(repo, targetPath, [options], cb)

Clone repo to targetPath, calling cb on completion.

Supported options:

  • git: path to git binary; default: git (optional).
  • shallow: when true, clone with depth 1 (optional).
  • checkout: revision/branch/tag to check out (optional).

Copyright & License

© 2014 Jason Frame [ @jaz303 / jason@onehackoranother.com ]

Released under the ISC license.

Current Tags

  • 0.1.0                                ...           latest (5 years ago)

5 Versions

  • 0.1.0                                ...           5 years ago
  • 0.0.4                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 5,812
This Week 5,812
This Month 27,874
Last Day 2,567
Last Week 32,812
Last Month 138,766
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (550)

Copyright 2014 - 2016 © taobao.org |