Hot File Finder – Finding the 'hottest' files in a Git repo (github.com) 4 points by colinhowe 11y ago ↗ HN
[–] a_penang 11y ago ↗ 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; } [–] aeharding 11y ago ↗ rekt [–] colinhowe 11y ago ↗ This is cool :) The difference between this and what I've made is that hotfilefinder looks at number of lines changed
[–] colinhowe 11y ago ↗ This is cool :) The difference between this and what I've made is that hotfilefinder looks at number of lines changed
3 comments
[ 3.0 ms ] story [ 16.0 ms ] threadmost-volatile-files () { git log --pretty=format: --name-only | sort | uniq -c | sort -rg | head -10; }