3.0.0 • Published 6 years ago

grc v3.0.0

Weekly downloads
8
License
ISC
Repository
bitbucket
Last release
6 years ago

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)
3.0.0

6 years ago

2.7.4

8 years ago

2.7.3

8 years ago

2.7.2

8 years ago

2.7.1

8 years ago

2.6.1

9 years ago

2.6.0

9 years ago

2.5.1

9 years ago

2.5.0

9 years ago

2.4.0

10 years ago

2.3.0

10 years ago

2.2.7

10 years ago

2.2.6

10 years ago

2.2.4

10 years ago

2.2.1

10 years ago

2.1.1

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago