log
Explore and filter commit history from a git repository using customizable parameters such as date range, author, message patterns, and output formats.
Instructions
View commit history and log information from a git repository.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
abbrevCommit | No | Show only a partial prefix instead of the full 40-byte hexadecimal commit object name (--abbrev-commit) | |
all | No | Show commits from all branches (--all) | |
author | No | Limit the commits output to ones with author/committer matching the pattern (--author) | |
branches | No | Show commits from specific branches | |
firstParent | No | Follow only the first parent commit upon seeing a merge commit (--first-parent) | |
format | No | Pretty-print format for commits (--pretty) | |
graph | No | Draw a text-based graphical representation (--graph) | |
grep | No | Limit the commits output to ones with commit message matching the pattern (--grep) | |
maxCount | No | Limit the number of commits to output (-n, --max-count) | |
merges | No | Print only merge commits (--merges) | |
nameOnly | No | Show only names of changed files (--name-only) | |
nameStatus | No | Show only names and status of changed files (--name-status) | |
noMerges | No | Do not print commits with more than one parent (--no-merges) | |
pathspec | No | Limit commits to those that affect the given paths | |
repoPath | Yes | Absolute path to the git repository | |
shortStat | No | Output only the summary line of --stat (--shortstat) | |
since | No | Show commits more recent than a specific date (--since) | |
skip | No | Skip number commits before starting to show the commit output (--skip) | |
stat | No | Generate a diffstat (--stat) | |
until | No | Show commits older than a specific date (--until) |