🚀 Launch Week Day 3:Introducing Supply Chain Attack Campaigns Tracking.Learn More →
Socket
Book a DemoInstallSign in
Socket

gh-clone

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gh-clone

git clone a repo with only username/repo.

Source
npmnpm
Version
0.1.3
Version published
Weekly downloads
123
108.47%
Maintainers
1
Weekly downloads
 
Created
Source

gh-clone NPM version

git clone a repo with only username/repo.

That's it, just clone foo/bar, nothing complicated.

Install

Install with npm:

npm i -g gh-clone

Usage

Let's say you want to clone Assemble:

clone assemble/assemble

flags

  • -r|--repo: the repository to clone
  • -b|--brach: the branch to clone
  • -d|--dest: the local destination

Flags can be used in any order. If you want the v0.5.0 branch of Assemble:

clone assemble/assemble -b v0.5.0

If you want to save it to the foo directory

clone assemble/assemble -b v0.5.0 -d foo

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license

This file was generated by verb-cli on April 03, 2014.

Keywords

clone

FAQs

Package last updated on 01 May 2014

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