Created
December 14, 2025 05:40
-
-
Save petergi/e21aa36e897aa38e89a20fca618182df to your computer and use it in GitHub Desktop.
Search through Git branches for particular text. In this case I am looking at reference to Anthropic or Claude.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Search in files across all branches | |
| git grep -i "claude\|anthropic\|generated with.*claude\|co-authored-by.*claude" $(git rev-list --all) -- ':(exclude)go.sum' ':(exclude)go.mod' | head -50 | |
| # Search in commit messages | |
| git log --all --grep="Claude\|Generated with\|Co-Authored" --oneline | |
| # Search for specific patterns in current branch | |
| grep -r "Claude Code\|Co-Authored-By: Claude\|🤖 Generated" . --exclude-dir=.git --exclude-dir=build | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment