@gobvoz/cli-git-init

0.1.2 • Public • Published

cli-git-init

A simple utility that allows you to easy initialize a git repository, create a github repository, create a default git ignore file, and perform an initial commit.

Installation

npm install @gobvoz/cli-git-init -g

Copy .env.example file to .env and set up variables. Create git-init.pem file and write your gitHub API key to grant read and create repositories access.

Usage

git-init
  • Initialize empty Git repository in current folder;
  • Write default package.json
  • create .gitignore
  • create gitHub repository with same name (will ask options)
  • add remote for repository
  • add initial commit (will ask options)
git-init --no-initial-commit

Skip initial commit

git-init --repo-name [new-repo-name]

Create new repository with specified name

/@gobvoz/cli-git-init/

    Package Sidebar

    Install

    npm i @gobvoz/cli-git-init

    Weekly Downloads

    1

    Version

    0.1.2

    License

    ISC

    Unpacked Size

    11.9 kB

    Total Files

    14

    Last publish

    Collaborators

    • gobvoz