Created
January 31, 2022 20:00
-
-
Save miamibc/06a83bb38f8aaefed4f86523c439d3ea to your computer and use it in GitHub Desktop.
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
# 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 (<[email protected]> | |
# 364 (<[email protected]> | |
# 3483 (<[email protected]> | |
# 36849 (<[email protected]> | |
# 48434 (<[email protected]> | |
# 12 (<user-ThinkCentre-M90p.(none)> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment