git_push
Push commits to a specified remote repository using path, branch, and force options. Supports setting upstream for streamlined Git repository management with the MCP Git Server.
Instructions
Push commits to remote repository
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | ||
| force | No | ||
| remote | No | origin | |
| repo_path | Yes | ||
| set_upstream | No |
Input Schema (JSON Schema)
{
"properties": {
"branch": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Branch"
},
"force": {
"default": false,
"title": "Force",
"type": "boolean"
},
"remote": {
"default": "origin",
"title": "Remote",
"type": "string"
},
"repo_path": {
"title": "Repo Path",
"type": "string"
},
"set_upstream": {
"default": false,
"title": "Set Upstream",
"type": "boolean"
}
},
"required": [
"repo_path"
],
"title": "GitPush",
"type": "object"
}