deployphp/deployer

View on GitHub
docs/recipe/deploy/push.md

Summary

Maintainability
Test Coverage
<!-- DO NOT EDIT THIS FILE! -->
<!-- Instead edit recipe/deploy/push.php -->
<!-- Then run bin/docgen -->

# Push Recipe

```php
require 'recipe/deploy/push.php';
```

[Source](/recipe/deploy/push.php)



## Tasks

### push {#push}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/deploy/push.php#L9)

Pushes local changes to remote host.

Creates patch of local changes and pushes them on host.
And applies to current_path. Push can be done many times.
The task purpose to be used only for development.