git_push
Push commits to a specified branch in a remote repository using the GitMCP server. Requires repository path, with optional remote and branch parameters for precise control.
Instructions
Push commits to remote repository
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "git_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Branch name | main |
| path | Yes | Repository path | |
| remote | No | Remote name | origin |