New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

grc

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grc

grc js version

latest
Source
npmnpm
Version
3.0.0
Version published
Maintainers
1
Created
Source

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)

FAQs

Package last updated on 24 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts