feat: Add the ability to ignore existing applications during a git clone

This makes it possible to create cloned apps if and only if they haven't already been created - a useful feature for review apps.
This commit is contained in:
Jose Diaz-Gonzalez
2018-04-27 00:03:19 -04:00
parent 380e8affba
commit 1dfa02924d
3 changed files with 47 additions and 8 deletions

View File

@@ -158,6 +158,12 @@ By default, Dokku will deploy this new application, though you can skip the depl
dokku apps:clone --skip-deploy node-js-app io-js-app
```
Finally, if the application already exists, you may wish to ignore errors resulting from attempting to clone over it. To do so, you can use the `--ignore-existing` flag. A warning will be emitted, but the command will return 0.
```shell
dokku apps:clone --ignore-existing node-js-app io-js-app
```
### Locking app deploys
> New as of 0.11.6