git ls-files | xargs -n1 -d'\n' -i git-blame {} | perl -n -e '/\s\((.*?)\s[0-9]{4}/ && print "$1\n"' | sort -f | uniq -c -w3 | sort -r
This command retrieves line-wise author contributions in a GIT repository. It does so by listing all repository files, running git-blame on each file to find authorship, extracting author names, sorting them case-insensitively, counting and displaying the results in descending order.
Alternative: You can use tools like git shortlog for a simpler summary of author contributions.
