gitPush
Push current branch to a remote Git repository with options for upstream tracking and force push (blocked on main/master).
Instructions
Push the current branch to a remote. Use setUpstream: true on the first push. Force push uses --force-with-lease. Blocked on main/master.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remote | No | Remote name (default: origin) | |
| branch | No | Branch to push (default: current branch) | |
| setUpstream | No | Set the upstream tracking branch (-u). Use on first push of a new branch. Default: false. | |
| force | No | Force push with --force-with-lease. Blocked on main/master. Default: false. |