Add -e/--email option to list commit links for a specific email#3
Merged
ternera merged 3 commits intoJul 15, 2026
ternera:mainternera/github-email-finder:mainfrom
Raymo111:feature/commit-links-by-emailRaymo111/github-email-finder:feature/commit-links-by-emailCopy head branch name to clipboard
Merged
Add -e/--email option to list commit links for a specific email#3ternera merged 3 commits intoternera:mainternera/github-email-finder:mainfrom Raymo111:feature/commit-links-by-emailRaymo111/github-email-finder:feature/commit-links-by-emailCopy head branch name to clipboard
ternera merged 3 commits into
ternera:mainternera/github-email-finder:mainfrom
Raymo111:feature/commit-links-by-emailRaymo111/github-email-finder:feature/commit-links-by-emailCopy head branch name to clipboard
Conversation
Resolves ternera#1. When -e/--email is supplied, the tool lists direct links to every commit the given user made with that email (matching author or committer), instead of listing all discovered emails. Useful for tracking down and sanitizing a leaked address. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Owner
|
Hi Raymond, glad to hear you are finding this tool useful. I'll check this out soon and give any necessary feedback. |
There was a problem hiding this comment.
Pull request overview
Adds a new CLI mode to locate commits associated with a specific email address, to help track down and remediate leaked emails in Git history.
Changes:
- Added
--email/-eoption to list commit links instead of listing discovered emails. - Implemented repository-wide scanning to collect commit URLs where the target email appears in commit author/committer metadata.
- Updated README with the new option and an example invocation/output.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| script.py | Adds commit-link scanning by email, display output, and CLI flag wiring. |
| README.md | Documents the new --email/-e option and shows example usage/output. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ternera
requested changes
Jul 15, 2026
ternera
left a comment
Owner
There was a problem hiding this comment.
Would like to remove this phrase from the readme - otherwise LGTM.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #1. When -e/--email is supplied, the tool lists direct links to every commit the given user made with that email (matching author or committer), instead of listing all discovered emails. Useful for tracking down and sanitizing a leaked address.