Created
October 26, 2016 11:58
-
-
Save jwendell/f22ef34470e9ede71f3f0bb913071b32 to your computer and use it in GitHub Desktop.
Find Clement Lefebvre contributions within GNOME
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
#!/bin/bash | |
AUTHOR="Clement Lefebvre" | |
for repo in *; do | |
if [ -d "$repo" ]; then | |
# echo "entering $repo" | |
cd "$repo" | |
contribs=$(git log --pretty=format:"%an" 2>/dev/null | grep "$AUTHOR" | wc -l) | |
if [ "$contribs" != "0" ]; then | |
echo "$repo - $contribs contributions" | |
fi | |
cd .. | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment