Plugin for heroku CLI that can manipulate the repo
JavaScript
Clone or download
Latest commit 3919664 May 29, 2018

README.md

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.