getCommitHistory
Retrieve and analyze GitHub commit history for a repository to track changes, filter by author, include diffs, and paginate results over a specified time period.
Instructions
Track the evolution of your Obsidian vault knowledge base by retrieving commit history from GitHub (johndoe-org/obsidian-vault). See how your notes and ideas have developed over time with detailed diffs.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
author | No | Filter commits by author username | |
days | Yes | Number of days to look back for commits | |
includeDiffs | No | Whether to include actual file changes/diffs (default: true) | |
maxCommits | No | Maximum number of commits to return | |
page | No | Page number for pagination (0-indexed) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"author": {
"description": "Filter commits by author username",
"type": "string"
},
"days": {
"description": "Number of days to look back for commits",
"maximum": 365,
"minimum": 1,
"type": "number"
},
"includeDiffs": {
"default": true,
"description": "Whether to include actual file changes/diffs (default: true)",
"type": "boolean"
},
"maxCommits": {
"default": 25,
"description": "Maximum number of commits to return",
"maximum": 50,
"minimum": 1,
"type": "number"
},
"page": {
"default": 0,
"description": "Page number for pagination (0-indexed)",
"type": "number"
}
},
"required": [
"days"
],
"type": "object"
}