Skip to content

Instantly share code, notes, and snippets.

View shreeshkatyayan's full-sized avatar
🏡
Working from Home

Shreesh Katyayan shreeshkatyayan

🏡
Working from Home
View GitHub Profile
@shreeshkatyayan
shreeshkatyayan / Count Code lines
Last active August 6, 2018 09:47 — forked from amitchhajer/Count Code lines
Count number of code lines in git repository per user
git ls-files | while read f; do git blame -w -M -C -C --line-porcelain "$f" | grep -I '^author '; done | sort -f | uniq -ic | sort -n