Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 36 lines (18 sloc) 0.86 kB
25458fe @kennethreitz note about rebuild
kennethreitz authored
1 # Heroku Repo plugin
f9da119 @lstoll Download repo command
lstoll authored
2
3 This plugin adds some commands to the heroku gem to interact with the app's repo
4
a79b0e2 @lstoll Cleanup README
lstoll authored
5 ## Installation
f9da119 @lstoll Download repo command
lstoll authored
6
a79b0e2 @lstoll Cleanup README
lstoll authored
7 To install:
8
9 $ heroku plugins:install https://github.com/lstoll/heroku-repo.git
10
11 ## Commands
12
13 ### Download
14
15 $ heroku repo:download -a appname
f9da119 @lstoll Download repo command
lstoll authored
16
17 This will download the applications repo as a tarball.
f3fbd48 @lstoll GC command
lstoll authored
18
a79b0e2 @lstoll Cleanup README
lstoll authored
19 ### gc
f3fbd48 @lstoll GC command
lstoll authored
20
a79b0e2 @lstoll Cleanup README
lstoll authored
21 $ heroku repo:gc -a appname
f3fbd48 @lstoll GC command
lstoll authored
22
a79b0e2 @lstoll Cleanup README
lstoll authored
23 This will run a `git gc --agressive` against the applications repo. This is done inside a run procress on the application.
988e78d @lstoll Command to purge build cache
lstoll authored
24
a79b0e2 @lstoll Cleanup README
lstoll authored
25 ### purge_cache
988e78d @lstoll Command to purge build cache
lstoll authored
26
a79b0e2 @lstoll Cleanup README
lstoll authored
27 $ heroku repo:purge_cache -a appname
988e78d @lstoll Command to purge build cache
lstoll authored
28
29 This will delete the contents of the build cache stored in the repository. This is done inside a run process on the application.
25458fe @kennethreitz note about rebuild
kennethreitz authored
30
31 ### rebuild
32
33 $ heroku repo:rebuild -a appname
34
35 This will empty the remote repository and push the repository up again, effectively triggering an app rebuild.
Something went wrong with that request. Please try again.