Skip to main content
Glama

git_branch_ahead_behind

Check commit differences between branches to determine how many commits are ahead or behind before push/pull operations.

Instructions

Check how many commits a branch is ahead/behind its upstream. Useful before push/pull.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
branchNoBranch name (default: current branch)
Install Server

Other Tools

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/ShunsukeHayashi/miyabi-mcp-bundle'

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