Created
January 25, 2022 00:50
Star
You must be signed in to star a gist
Generate per-line author data for pony factor
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
# replace `main` with name of default branch of repo @ pwd and output | |
for f in $(git ls-tree -r main --name-only); do git blame $f --line-porcelain | grep -I "^author " | cut -d" " -f2- >> authorship_by_line.txt; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment