Skip to main content
Glama

list_commits

Retrieve commit history from repositories with filtering options for branch, path, date range, or author to track code changes and development activity.

Instructions

List commits in a repository. Filter by branch, path, date range, or author.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYesRepository identifier (GitLab: "group/project" or ID, GitHub: "owner/repo")
refNoBranch name or commit SHA to list commits from
pathNoFile path to filter commits
sinceNoOnly commits after this date (ISO 8601 format)
untilNoOnly commits before this date (ISO 8601 format)
authorNoFilter by author email or name
with_statsNoInclude commit stats (additions, deletions)
pageNoPage number (default: 1)
per_pageNoItems per page (default: 20, max: 100)

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

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