git:find-commit

slash command claude_code
Created by Prasham Trivedi

Copy This Prompt

---
allowed-tools: Bash(git:*), Bash(grep:*)
description: Find commits by message, author, file, or date criteria
---

# Find commits by various criteria

Search commits using $ARGUMENTS (message/author/file/date range).

## Search Types

- Message: "find-commit 'fix login'"
- Author: "find-commit author:john"
- File: "find-commit file:auth.ts"
- Date: "find-commit since:2025-01-01"
- Mixed: "find-commit 'auth bug' author:sarah since:last-week"

## Process

1. Parse search criteria
2. Build appropriate git log command
3. Show matching commits with context
4. Provide links to diffs and files
5. Suggest related commits
Slash Command Analysis
  • Requires arguments: No
  • Agent references: None
  • Skill references: None
  • Analysis version: 1.0
Re-analyzes command for arguments and references

Convert to Different Formats

Actions

(Clears cached conversions and forces re-processing)
← Back to List