Created
March 13, 2014 16:35
-
-
Save mikeyhu/9531931 to your computer and use it in GitHub Desktop.
This file contains 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
echo -n > /tmp/committers-to-project | |
for project in Project1 Project2; do | |
cd ~/casper/$project && git log --date=short --pretty="%ad %s" >> /tmp/committers-to-project | |
done | |
sort /tmp/committers-to-project > /tmp/committers-to-project-sorted | |
for person in Name1 Name2; do | |
echo $person | |
grep $person /tmp/committers-to-project-sorted | sed -n '1p;$p' | sed 's/ .*$//g' | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment