Repository Management¶
New
Introduced in 0.6.0
repo:gc <app> # Runs 'git gc --aggressive' against the application's repo
repo:purge-cache <app> # Deletes the contents of the build cache stored in the repository
The repository plugin is meant to allow users to perform management commands against a repository.
Usage¶
Git Garbage Collection¶
This will run a git gc --aggressive against the applications repo. This is performed on the Dokku host, and not within an application container.
Clearing Application cache¶
Building containers with buildpacks currently results in a persistent cache
directory between deploys. If you need to clear this cache directory for any reason, you may do so by running the following shell command: