push_branch
Push a local git branch to a Magento Cloud project using SSH certificate authentication, no separate git credentials required.
Instructions
Push a local git branch to a Magento Cloud project. Uses SSH certificate authentication — no separate git credentials needed. The branch must exist locally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | The Magento Cloud project ID | |
| repo_path | Yes | Absolute path to the local git repository, e.g. '/home/user/myproject' | |
| local_branch | Yes | Local branch name to push, e.g. 'feature-xyz' | |
| remote_branch | No | Remote branch name. Defaults to the same as local_branch. |