Created
January 31, 2022 20:00
-
-
Save miamibc/06a83bb38f8aaefed4f86523c439d3ea 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
# change lib/ apps/ to folders you worked in, remove grep php if you work not only with php files | |
git ls-tree --name-only -r HEAD lib/ apps/ | grep 'php' | xargs -n1 git blame -t -c -e | awk '{print $2}' | sort | uniq -c | |
# this will bring you number of lines each author contributed | |
# example: | |
# 14262 (<author@example.com> | |
# 364 (<noob@example.com> | |
# 3483 (<another@example.com> | |
# 36849 (<mastah@example.com> | |
# 48434 (<miami@blackcrystal.net> | |
# 12 (<user-ThinkCentre-M90p.(none)> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment