Created
June 12, 2017 14:42
-
-
Save grimzy/a2038bbcd25213463d6345fd4cd51fd9 to your computer and use it in GitHub Desktop.
List Git authors
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
#!/usr/bin/env bash | |
#git log --format='%aN' | sort -u | |
#OR | |
git shortlog -s | cut -c8- |
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
#!/usr/bin/env bash | |
git log --format='%aN <%aE>' | awk '{arr[$0]++} END{for (i in arr){print arr[i], i;}}' | sort -rn | cut -d\ -f2- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment