Git MCP

refresh_repository

Ensures a Git repository is up to date by checking out the main branch and pulling all remotes, providing status and operation details in a structured response.

Instructions

Refresh repository by checking out main branch and pulling all remotes

Args: repo_name: Name of the git repository Returns: Dictionary containing status and information about the operation

Input Schema

NameRequiredDescriptionDefault
repo_nameYes

Input Schema (JSON Schema)

{ "properties": { "repo_name": { "title": "Repo Name", "type": "string" } }, "required": [ "repo_name" ], "title": "refresh_repositoryArguments", "type": "object" }

You must be authenticated.

Other Tools from Git MCP

Related Tools

ID: s9v9iezy1u