Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clonit

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clonit

initialize your repo with cloned repository

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

clonit

initialize your repo with cloned repository

Install

$ npm install -g clonit

Usage

before run clonit, create empty repository for your project.

$ clonit --help

  initialize your repo with cloned repository

  Usage
    $ clonit <STARTER_REPO_URL> <REPO_URL> [FOLDER_NAME]
    $ clonit <STARTER_REPO_URL> <REPO_NAME> # if same repo root

  Examples
    $ clonit https://github.com/zeakd/rollup-module-starter my-module 
    remote: https://github.com/zeakd/my-module
    folder: my-module

    $ clonit https://github.com/zeakd/rollup-module-starter https://github.com/zeakd/my-module
    remote: https://github.com/zeakd/my-module
    folder: my-module

    $ clonit https://github.com/zeakd/rollup-module-starter https://github.com/zeakd/my-module mine
    remote: https://github.com/zeakd/my-module
    folder: mine
$ clonit https://github.com/zeakd/rollup-module-starter https://github.com/zeakd/my-module my-module
or
$ clonit https://github.com/zeakd/rollup-module-starter my-module
$ cd my-module
$ npm init # npm init would not remove dependency, scripts, etc. just edit name, version, author, license of package.json.

What it does

  • git clone the starter repo
  • remove .git folder
  • init git
  • add remote origin. https://github.com/YOUR_ID/MY_MODULE.git should be created and empty
  • commit with "init" message

TODO

  • CLI visualization
  • if repo has package.json, npm init before commit.

Keywords

FAQs

Package last updated on 16 May 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