Socket
Socket
Sign inDemoInstall

git-clone-specific-branch

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-clone-specific-branch

Clone a git repository


Version published
Weekly downloads
23
decreased by-52.08%
Maintainers
1
Weekly downloads
 
Created
Source

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).

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

Released under the ISC license.

Keywords

FAQs

Package last updated on 05 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc