Skip to content

Ruby script to retrieve all of the emails from the git commit history for a GitHub user

Notifications You must be signed in to change notification settings

boveus/git-emails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Git Emails

This is a simple Ruby script using the GitHub API. It will iterate through a user's public GitHub repositories and retrieve all of the emails and associated display names from each of the commits within them.

This currently does not involve API authentication, so it is subject to rate limits. This is still useful for scanning one or two users before the rate limit is reached.

To use the script, you will need to have Ruby installed. From the root directory, run the following:

ruby git-emails.rb <GitHub username>

This should return something like this:

{"[email protected]"=>"Foo Bar",
 "[email protected]"=>"Foo Bar"}

Note: it will return the emails for any commits made to the user's repos. These are not neccesarily that user's email addresses.

About

Ruby script to retrieve all of the emails from the git commit history for a GitHub user

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages