UNPKG

1 kBMarkdownView Raw
1# GRC - Git Remote Creation (JS)
2A simple tool to create/modify/delete your remotes.
3
4## Install
5``` bash
6npm install grc
7
8```
9
10
11## Getting Started
12
13Here'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
231. Go to [github](https://github.com) and login/create account.
242. 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.
273. Use flags -u and -t to specify Username and Token.
284. Use the --g flag to use github.
29
30#### Bitbucket
31
321. Go to [bitbucket](https://bitbucket.org) and login/create account.
332. 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