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

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 README.md s/lstoll/heroku/ January 06, 2014
Octocat-spinner-32 init.rb Download repo command March 03, 2012
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/heroku/heroku-repo.git

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

rebuild

$ heroku repo:rebuild -a appname

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

reset

$ heroku repo:reset -a appname

This will empty the remote repository.

Something went wrong with that request. Please try again.