git_push
Push local commits and branch updates to a remote Git repository, with optional force push, remote selection, and upstream tracking setup.
Instructions
Update remote refs along with associated objects
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "git_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force push | |
| branch | No | Branch to push | |
| remote | No | Name of the remote to push to | |
| repoPath | No | Path to git repository (defaults to current directory) | |
| setUpstream | No | Set upstream tracking |