Overview
History inspection via git_action.
Key Tools
- •
git_action: For log/diff/blame (e.g., "git log --oneline", "git diff HEAD~1").
Usage Instructions
- •Log: "git log --pretty=format:'%h %s'".
- •Diff: "git diff <commit1>..<commit2>".
- •Blame: "git blame <file>".
- •Show: "git show <commit>".
- •Subset: Limit with --since, --author.
Examples
- •Recent logs:
git_actionwith command="git log -n 10". - •File blame:
git_actionwith command="git blame README.md".
Error Handling
- •No history: New repo.