This package has been deprecated

Author message:

Package no longer maintained. Development has moved to @vaemoi/grc. Install with 'npm install @vaemoi/grc'

grc

3.0.0 • Public • Published

GRC - Git Remote Creation (JS)

A simple tool to create your bitbucket and github remotes.

Install

npm install grc
 

Getting Started

Here's what you need to get started:

  • A github and/or bitbucket account
  • personal access token (for github auth)
  • git

Instructions

Github

  1. Go to github and login/create account
  2. Create a token
    • Give scope repo for public and private repo access
    • Give scope pubilc_repo for only public repo access
  3. Use flags -u and -t to specify Username and Token (-t shows your token)
    • without the -t flag you will be prompted for your password
    • without the -u flag, the value from 'git config --get user.username' is used
  4. Use the --g flag to use github

Bitbucket

  1. Go to bitbucket and login/create account.
  2. Use flags -u and -t to specify Username and Password (-t shows your token)
    • without the the -t flag you will be prompted for your password
    • without the -u flag, the value from 'git config --get user.username' is used

Flags

  • --g - Set host to github
  • -n - Name of repo, defaults to name of current directory
  • --p - Set repo to private
  • -t - Token for respective host
  • -u - Username for respective host, defaults to git username
  • -s - Team name if creating a team repository (bitbucket only)

Readme

Keywords

none

Package Sidebar

Install

npm i grc

Weekly Downloads

37

Version

3.0.0

License

ISC

Unpacked Size

2.26 kB

Total Files

4

Last publish

Collaborators

  • brwnrclse