Skip to content

Comment on Hot File Finder – Finding the 'hottest' files in a Git repo

Comments

Here's an alternate version I'd written to such identify files. Using the git command line, invoke the following function from within any git repo:

most-volatile-files () { git log --pretty=format: --name-only | sort | uniq -c | sort -rg | head -10; }

This is cool :) The difference between this and what I've made is that hotfilefinder looks at number of lines changed

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.