Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Plugin for heroku CLI that can manipulate the repo

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 init.rb
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 https://github.com/lstoll/heroku-repo.git

Commands

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

Something went wrong with that request. Please try again.