Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 7 days 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 12 years ago)
- Default Branch: main
- Last Pushed: 2024-10-08T12:26:58.000Z (about 1 month ago)
- Last Synced: 2024-10-22T11:55:53.911Z (18 days ago)
- Topics: heroku, heroku-cli-plugin
- Language: JavaScript
- Homepage:
- Size: 369 KB
- Stars: 688
- Watchers: 90
- Forks: 113
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# Heroku Repo plugin
This plugin adds some commands to the heroku gem to interact with the app's repo
## Installation
To install:
$ heroku plugins:install heroku-repo
## Commands
### clone
$ heroku repo:clone -a appname
This will clone the applications repo to your local filesystem. No collaboration necessary!
### download
$ heroku repo:download -a appname
This will download the applications repo as a tarball.
### gc
$ heroku repo:gc -a appname
This will run a `git gc --aggressive` against the applications repo. This is done inside a run process on the application.
### purge-cache
$ heroku repo:purge_cache -a appname
This will delete the contents of the build cache stored in the repository. This is done inside a run process on the application.
### reset
$ heroku repo:reset -a appname
This will empty the remote repository.