Skip to main content
Glama

Git Repo Browser MCP

git_push

Push local repository changes to a remote Git branch using specified parameters like repo path, remote, and branch. Supports force push for overwriting remote history.

Instructions

Push changes to a remote repository.

Input Schema

NameRequiredDescriptionDefault
branchNoBranch to push (default: current branch)
forceNoWhether to force push
remoteNoRemote nameorigin
repo_pathYesThe path to the local Git repository

Input Schema (JSON Schema)

{ "properties": { "branch": { "description": "Branch to push (default: current branch)", "type": "string" }, "force": { "default": false, "description": "Whether to force push", "type": "boolean" }, "remote": { "default": "origin", "description": "Remote name", "type": "string" }, "repo_path": { "description": "The path to the local Git repository", "type": "string" } }, "required": [ "repo_path" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bsreeram08/git-commands-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server