1 | # GRC - Git Remote Creation (JS)
|
2 | A simple tool to create/modify/delete your remotes.
|
3 |
|
4 | ## Install
|
5 | ``` bash
|
6 | npm install grc
|
7 |
|
8 | ```
|
9 |
|
10 |
|
11 | ## Getting Started
|
12 |
|
13 | Here's what you need to get started:
|
14 |
|
15 | - A github and/or bitbucket account
|
16 | - personal access token (for github auth)
|
17 | - git
|
18 |
|
19 | ### Instructions
|
20 |
|
21 | #### Github
|
22 |
|
23 | 1. Go to [github](https://github.com) and login/create account.
|
24 | 2. Create a [token](https://github.com/settings/tokens).
|
25 | * Give scope *repo* for public **and** private repo access.
|
26 | * Give scope *pubilc_repo* for only public repo access.
|
27 | 3. Use flags -u and -t to specify Username and Token.
|
28 | 4. Use the --g flag to use github.
|
29 |
|
30 | #### Bitbucket
|
31 |
|
32 | 1. Go to [bitbucket](https://bitbucket.org) and login/create account.
|
33 | 2. Use flags -u and -t to specify Username and Password.
|
34 |
|
35 | ###Flags
|
36 | * --g - Set host to github
|
37 | * -n - Name of repo, defaults to name of current directory
|
38 | * --p - Set repo to private
|
39 | * -t - Token for respective host
|
40 | * -u - Username for respective host, defaults to git username
|