svengiebel / create-git-repo

A script to create git repos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

create-git-repo

Create github repositories with ease.

Installation

Using Yarn

yarn global add git-repo-create

Using NPM

npm install --global git-repo-create

Usage

  • git-repo-create Hello

If you don't want to be prompted for password all the time, create an access token on github with the right to create repositories and export it as an enviroment variable aswell as your github username.

# In .bashrc or equivalent
export GITHUB_USERNAME="xxxxxxx"
export GITHUB_CREATE_REPO_ACCESS_TOKEN=xxxxx

To be able to push to github without being prompted for username/password, set up git to use SSH

About

A script to create git repos

License:MIT License


Languages

Language:TypeScript 95.0%Language:JavaScript 5.0%