Plugin for heroku CLI that can manipulate the repo

Clone this repo:
  1. a2aebc8 Update README for consistency with CLI doc (#46) by Yvan BARTHÉLEMY · 6 years ago master
  2. 56d60f9 1.0.4 by Ransom Briggs · 6 years ago v1.0.4
  3. b8765da 1.0.3 by Ransom Briggs · 6 years ago v1.0.3
  4. d2c1ee1 Merge pull request #62 from heroku/api_v3 by Ransom Briggs · 6 years ago
  5. 17bfe10 use v3 of the API instead of v2 by dmathieu · 6 years ago

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