Skip to main content
Glama

commit_and_push_changes

Stage, commit, and push code changes to a Git repository in one step. Specify repository path and commit message to automate the push workflow.

Instructions

Use this when you want to stage, commit, and push in one step (most common push workflow). Requires 'repo_path' and 'commit_message'. Optional: 'files' (specific files to stage; empty stages all), 'branch', 'create_branch'. Automatically sets upstream tracking. See also: git_push, create_pull_request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathYesRepository path relative to workspace
commit_messageYesCommit message
filesNoSpecific files to stage (empty for all)
branchNoTarget branch (current if empty)
create_branchNoCreate branch if it does not exist

Latest Blog Posts

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/gitopia/gitopia-mcp-server'

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