3 ms·
He recommends git blame to identify which files should be prioritized when improving the codebase, but git log and a bit of shell-fu can make remove the need fo
by drtse4 10y ago
He recommends git blame to identify which files should be prioritized when improving the codebase, but git log and a bit of shell-fu can make remove the need for manual browsing.
For example, obtaining the list of the 10 most modified files is as easy as:
git log --name-only --pretty=format: | sort | uniq -c | sort -nr | head -n 10
This is only a simple example but something non much different could be used to get a better indication of actual activity, limit the search to specific timeframes or users, etc...