Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

heroku-git

2.5.23 • Public • Published

heroku-git Circle CI

Code Climate Test Coverage npm version License

js-standard-style

Heroku CLI plugin to manage local git repos.

Commands

heroku git:remote

adds a git remote to an app repo

-a, --app the Heroku app to use

-r, --remote the git remote to create

--ssh-git use SSH git protocol

extra arguments will be passed to git remote add

Examples:

  $ heroku git:remote -a example set git remote heroku to https://git.heroku.com/example.git

heroku git:clone [DIRECTORY]

clones a heroku app to your local machine at DIRECTORY (defaults to app name)

-a, --app the Heroku app to use

-r, --remote the git remote to create, default "heroku"

--ssh-git use SSH git protocol

Examples:

  $ heroku git:clone -a example
  Cloning into 'example'...
  remote: Counting objects: 42, done.
  ...

install

npm i heroku-git

Downloadsweekly downloads

228

version

2.5.23

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability