Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Plugin for heroku CLI that can manipulate the repo

branch: master

Merge pull request #19 from heroku/repo-reset-doc

repo:reset No longer clears the cache
latest commit 1750c74a47
naaman naaman authored
Octocat-spinner-32 lib repo:reset No longer clears the cache January 08, 2014
Octocat-spinner-32 .gitignore Initial commit March 03, 2012
Octocat-spinner-32 LICENSE Add License, assign copyright to Heroku December 12, 2013
Octocat-spinner-32 s/lstoll/heroku/ January 06, 2014
Octocat-spinner-32 init.rb Download repo command March 03, 2012

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: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 procress 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:rebuild -a appname

This will empty the remote repository and push the repository up again, effectively triggering an app rebuild.


$ heroku repo:reset -a appname

This will empty the remote repository.

Something went wrong with that request. Please try again.