git-monitor
Monitor Git repository activity by tracking logs, status changes, commit history, and contributor analysis to maintain project oversight and identify development patterns.
Instructions
Git monitoring and logging tool for log, status, commits, and contributors operations. Provides comprehensive repository analysis and monitoring capabilities.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | The Git monitoring operation to perform | |
author | No | Filter by author name or email | |
branch | No | Branch to analyze (default: current branch) | |
detailed | No | Show detailed status information (for status operation) | |
format | No | Commit format (for commits operation) | |
graph | No | Show commit graph (for commits operation) | |
grep | No | Filter by commit message pattern | |
includeStats | No | Include detailed statistics (insertions/deletions) | |
limit | No | Number of commits to show (1-1000, default: 10 for log, 50 for commits) | |
projectPath | Yes | Absolute path to the project directory | |
since | No | Date since when to show logs (e.g., "2024-01-01", "1 week ago") | |
sortBy | No | Sort contributors by (for contributors operation) | |
until | No | Date until when to show logs (e.g., "2024-01-01", "1 week ago") |
Input Schema (JSON Schema)
{
"properties": {
"action": {
"description": "The Git monitoring operation to perform",
"enum": [
"log",
"status",
"commits",
"contributors"
],
"type": "string"
},
"author": {
"description": "Filter by author name or email",
"type": "string"
},
"branch": {
"description": "Branch to analyze (default: current branch)",
"type": "string"
},
"detailed": {
"description": "Show detailed status information (for status operation)",
"type": "boolean"
},
"format": {
"description": "Commit format (for commits operation)",
"enum": [
"short",
"full",
"oneline",
"raw"
],
"type": "string"
},
"graph": {
"description": "Show commit graph (for commits operation)",
"type": "boolean"
},
"grep": {
"description": "Filter by commit message pattern",
"type": "string"
},
"includeStats": {
"description": "Include detailed statistics (insertions/deletions)",
"type": "boolean"
},
"limit": {
"description": "Number of commits to show (1-1000, default: 10 for log, 50 for commits)",
"maximum": 1000,
"minimum": 1,
"type": "number"
},
"projectPath": {
"description": "Absolute path to the project directory",
"type": "string"
},
"since": {
"description": "Date since when to show logs (e.g., \"2024-01-01\", \"1 week ago\")",
"type": "string"
},
"sortBy": {
"description": "Sort contributors by (for contributors operation)",
"enum": [
"commits",
"lines",
"name"
],
"type": "string"
},
"until": {
"description": "Date until when to show logs (e.g., \"2024-01-01\", \"1 week ago\")",
"type": "string"
}
},
"required": [
"action",
"projectPath"
],
"type": "object"
}