
Product
Rust Support in Socket Is Now Generally Available
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.
git clone a repo with only username/repo.
Install globally with npm
$ npm i -g gh-clone
Let's say you want to clone micromatch:
$ gh-clone [owner/repo] <commands>
owner/repo
You can pass github owner name/repo:
$ gh-clone jonschlinkert/micromatch
repo
If you pass the repository name only, gh-clone will resolve the git url from the package.json hosted on npm.
$ gh-clone micromatch
-r|--repo: the repository to clone-b|--branch: the branch to clone-d|--dest: the local destinationExample: branch
Flags can be used in any order. If you want the dev branch of micromatch (when one exists):
$ gh-clone jonschlinker/micromatch -b dev
Example: destination
If you want to save to the foo directory
$ gh-clone jonschlinker/micromatch -d foo
Example: branch and destination
If you want to save the dev branch to the foo directory
$ gh-clone jonschlinker/micromatch -b dev -d foo
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Jon Schlinkert
Copyright © 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on November 22, 2015.
FAQs
git clone a repo with only username/repo, or if it's an NPM package you can use just the name of the project.
The npm package gh-clone receives a total of 96 weekly downloads. As such, gh-clone popularity was classified as not popular.
We found that gh-clone demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

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.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.