Getting a listing of all email addresses attached to a Git repo is very easy, this simple command will do this simply.
Just use Git to clone the repo to a folder, then run this command to see all emails.
┌──[jason@192.168.1.2]─[~/Documents/sysinfo] └──╼ (master) ╼ $ git log "--format=format:%ae" | sort -u | sed '/noreply/d' | grep '@' > mails.txt |
This is a simpler version of this command, this works perfectly.
┌──[jason@192.168.1.2]─[~/Documents/sysinfo] └──╼ (master) ╼ $ git log "--format=format:%ae" | sort | uniq |
This is a very simple way to get information about a Git repo with the command line.
The example below will show all email addresses of those who made a pull request in the last 3 hours.
┌──[jason@192.168.1.2]─[~/Documents/sysinfo] └──╼ (master) ╼ $ git log --since="3 hours ago" "--format=format:%ae" | sort -u | sed '/noreply/d' | grep '@' |
This could be very useful indeed.