git rev-list --reverse HEAD -- words.csv | \
xargs -I {} sh -c 'echo $(git show -s --date=short --format="%ad" {}) $(git show {}:./words.csv | wc -l)'
Showing posts with label bash. Show all posts
Showing posts with label bash. Show all posts
Sunday, October 6, 2024
Extract line count of file at each git revision
Friday, December 13, 2019
Recursively compact git repositories within a directory
find -name .git -exec echo {} \; -execdir git gc --aggressive ";"
Subscribe to:
Posts (Atom)