Plugin for heroku CLI that can manipulate the repo
Latest commit 56d60f9 Feb 21, 2017 Ransom Briggs 1.0.4
Failed to load latest commit information.
commands Fix purge cache Jul 1, 2016
lib use v3 of the API instead of v2 Feb 20, 2017
.gitignore gitignore Jun 22, 2016
LICENSE Add License, assign copyright to Heroku Dec 12, 2013 added download, gc and purge_cache Jun 21, 2016
index.js s/slug/repository Jun 29, 2016
package.json 1.0.4 Feb 21, 2017

Heroku Repo plugin

This plugin adds some commands to the heroku gem to interact with the app's repo


To install:

$ heroku plugins:install heroku-repo



$ heroku repo:clone -a appname

This will clone the applications repo to your local filesystem. No collaboration necessary!


$ heroku repo:download -a appname

This will download the applications repo as a tarball.


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


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


$ heroku repo:reset -a appname

This will empty the remote repository.