@vaemoi/grc
v2.7.5
Published
grc js version
Downloads
4
Readme
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
- Go to github and login/create account
- Create a token
- Give scope repo for public and private repo access
- Give scope pubilc_repo for only public repo access
- 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
- Use the --g flag to use github
Bitbucket
- Go to bitbucket and login/create account.
- 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)