0.1.2 • Published 6 months ago

@gobvoz/cli-git-init v0.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

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

0.1.2

6 months ago

0.1.1

8 months ago