https://github.com/heroku/heroku-repo
Plugin for heroku CLI that can manipulate the repo
https://github.com/heroku/heroku-repo
heroku heroku-cli-plugin
Last synced: 2 months ago
JSON representation
Plugin for heroku CLI that can manipulate the repo
- Host: GitHub
- URL: https://github.com/heroku/heroku-repo
- Owner: heroku
- License: mit
- Created: 2012-03-03T05:05:51.000Z (over 13 years ago)
- Default Branch: main
- Last Pushed: 2025-03-12T11:52:17.000Z (3 months ago)
- Last Synced: 2025-03-20T00:03:30.351Z (3 months ago)
- Topics: heroku, heroku-cli-plugin
- Language: TypeScript
- Homepage:
- Size: 390 KB
- Stars: 688
- Watchers: 87
- Forks: 114
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
@heroku-cli/plugin-heroku-repo
==============================Heroku Repo CLI Plugin
* [Usage](#usage)
* [Commands](#commands)# Usage
```sh-session
$ 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`](#heroku-repoclone)
* [`heroku repo:download [FILENAME]`](#heroku-repodownload-filename)
* [`heroku repo:gc`](#heroku-repogc)
* [`heroku repo:purge_cache`](#heroku-repopurge_cache)
* [`heroku repo:purge-cache`](#heroku-repopurge-cache)
* [`heroku repo:reset`](#heroku-reporeset)## `heroku repo:clone`
clone the application repo to your local filesystem
```
USAGE
$ heroku repo:clone -a [-r ]FLAGS
-a, --app= (required) app to run command against
-r, --remote= the git remote to useDESCRIPTION
clone the application repo to your local filesystem
```_See code: [src/commands/repo/clone.ts](https://github.com/heroku/heroku-repo/blob/v2.0.0/src/commands/repo/clone.ts)_
## `heroku repo:download [FILENAME]`
download the application repo as a tarball
```
USAGE
$ heroku repo:download [FILENAME] -a [-r ]ARGUMENTS
FILENAME a filename for the tarballFLAGS
-a, --app= (required) app to run command against
-r, --remote= the git remote to useDESCRIPTION
download the application repo as a tarball
```_See code: [src/commands/repo/download.ts](https://github.com/heroku/heroku-repo/blob/v2.0.0/src/commands/repo/download.ts)_
## `heroku repo:gc`
run a git gc --aggressive on an application's repository
```
USAGE
$ heroku repo:gc -a [-r ]FLAGS
-a, --app= (required) app to run command against
-r, --remote= the git remote to useDESCRIPTION
run a git gc --aggressive on an application's repository
```_See code: [src/commands/repo/gc.ts](https://github.com/heroku/heroku-repo/blob/v2.0.0/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 [-r ]FLAGS
-a, --app= (required) app to run command against
-r, --remote= the git remote to useDESCRIPTION
delete the contents of the build cache in the repositoryALIASES
$ heroku repo:purge_cache
```## `heroku repo:purge-cache`
delete the contents of the build cache in the repository
```
USAGE
$ heroku repo:purge-cache -a [-r ]FLAGS
-a, --app= (required) app to run command against
-r, --remote= the git remote to useDESCRIPTION
delete the contents of the build cache in the repositoryALIASES
$ heroku repo:purge_cache
```_See code: [src/commands/repo/purge-cache.ts](https://github.com/heroku/heroku-repo/blob/v2.0.0/src/commands/repo/purge-cache.ts)_
## `heroku repo:reset`
reset the repo
```
USAGE
$ heroku repo:reset -a [-r ]FLAGS
-a, --app= (required) app to run command against
-r, --remote= the git remote to useDESCRIPTION
reset the repo
```_See code: [src/commands/repo/reset.ts](https://github.com/heroku/heroku-repo/blob/v2.0.0/src/commands/repo/reset.ts)_