Skip to content

Repository files navigation

@heroku-cli/plugin-heroku-repo

Heroku Repo CLI Plugin

Usage

$ heroku plugins:install @heroku-cli/plugin-heroku-repo
$ heroku repo:COMMAND
running command...
$ heroku repo --help [COMMAND]
USAGE
  $ heroku repo:COMMAND
...

Commands

heroku repo:clone

clone the application repo to your local filesystem

USAGE
  $ heroku repo:clone -a <value> [--prompt] [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  the git remote to use

GLOBAL FLAGS
  --prompt  interactively prompt for command arguments and flags

DESCRIPTION
  clone the application repo to your local filesystem

See code: src/commands/repo/clone.ts

heroku repo:download [FILENAME]

download the application repo as a tarball

USAGE
  $ heroku repo:download [FILENAME] -a <value> [--prompt] [-r <value>]

ARGUMENTS
  [FILENAME]  a filename for the tarball

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  the git remote to use

GLOBAL FLAGS
  --prompt  interactively prompt for command arguments and flags

DESCRIPTION
  download the application repo as a tarball

See code: src/commands/repo/download.ts

heroku repo:gc

run a git gc --aggressive on an application's repository

USAGE
  $ heroku repo:gc -a <value> [--prompt] [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  the git remote to use

GLOBAL FLAGS
  --prompt  interactively prompt for command arguments and flags

DESCRIPTION
  run a git gc --aggressive on an application's repository

See code: src/commands/repo/gc.ts

heroku repo:purge_cache

delete the contents of the build cache in the repository

USAGE
  $ heroku repo:purge_cache -a <value> [--prompt] [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  the git remote to use

GLOBAL FLAGS
  --prompt  interactively prompt for command arguments and flags

DESCRIPTION
  delete the contents of the build cache in the repository

ALIASES
  $ heroku repo:purge_cache

heroku repo:purge-cache

delete the contents of the build cache in the repository

USAGE
  $ heroku repo:purge-cache -a <value> [--prompt] [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  the git remote to use

GLOBAL FLAGS
  --prompt  interactively prompt for command arguments and flags

DESCRIPTION
  delete the contents of the build cache in the repository

ALIASES
  $ heroku repo:purge_cache

See code: src/commands/repo/purge-cache.ts

heroku repo:reset

reset the repo

USAGE
  $ heroku repo:reset -a <value> [--prompt] [-r <value>]

FLAGS
  -a, --app=<value>     (required) app to run command against
  -r, --remote=<value>  the git remote to use

GLOBAL FLAGS
  --prompt  interactively prompt for command arguments and flags

DESCRIPTION
  reset the repo

See code: src/commands/repo/reset.ts

About

Plugin for heroku CLI that can manipulate the repo

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

683 stars

Watchers

82 watching

Forks

Releases

Packages

Used by

Contributors

Languages