13.3.2.2. Preserving Deployments
Preserving a number of deployments permits rollbacks to previous deployments of an application. Configure an application to preserve deployments with the following command:
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
where No_of_Deps is the number of deployments to keep in the application's history. Older deployments are deleted when this number is exceeded.
rhc configure-app -a App_Name --keep-deployments No_of_Deps
$ rhc configure-app -a App_Name --keep-deployments No_of_Deps