🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

gh-new

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

gh-new

Super simple CLI for creating a new github project.

unpublished
latest
Source
npmnpm
Version
1.3.4
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

gh-new

Super simple CLI for creating a new GitHub project.

What's the purpose?

Quickly setup a new project on GitHub without having to browse to github.com and click through the UI.

What does it do?

  • Creates a new GitHub repository.
  • Adds the newly created GitHub repository as remote origin.
    • Your working directory must be a git repository.
  • Pushes the current local branch to the GitHub repository and enables remote branch tracking.
    • Your repository must not be in a detached HEAD state.
    • A basic README.md will be created and added if one does not already exist.

Installation

npm install -g gh-new

Usage

Usage: gh-new
       gh-new <repo> [--desc==<description>] [--private] [--user=<user>] [--pass=<password>]
       gh-new --version
       gh-new --help

Fully Interactive:

gw-new fully interactive

Partially Interactive:

gw-new partially interactive

Non-interactive:

gw-new non-interactive

Options

  • <repo>
    • New repository name.
    • New repository name with organization (e.g. org/repo).
  • --desc=<description>, -d <description>
    • Add a description to your repository and README.md file.
  • --private, -p
    • Make the repository private.
  • --user=<user>, -u <user>
    • GitHub user.
  • --pass=<password>
    • GitHub password.
  • --help
    • Display usage text.

Keywords

git

FAQs

Package last updated on 03 Aug 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