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.
  ...

/heroku-git/

    Package Sidebar

    Install

    npm i heroku-git

    Weekly Downloads

    112

    Version

    2.5.23

    License

    ISC

    Last publish

    Collaborators

    • dickeyxxx
    • itops