heroku-git
v2.5.23
Published
Heroku CLI plugin to manage local git repos.
Downloads
108
Keywords
Readme
heroku-git
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.
...