git_push
Push local Git commits to a remote repository by specifying the remote name, branch, and repository path using the Model Context Protocol on the Code MCP Server.
Instructions
Push commits to remote
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | No | Branch name | |
cwd | No | Repository path | |
remote | No | Remote name |
Input Schema (JSON Schema)
{
"properties": {
"branch": {
"description": "Branch name",
"type": "string"
},
"cwd": {
"description": "Repository path",
"type": "string"
},
"remote": {
"description": "Remote name",
"type": "string"
}
},
"type": "object"
}