Last Updated: February 25, 2016
·
1.019K
· sheerun

Quickly get files to refactor

They are usually the most changed ones:

git log --pretty=format: --name-only | grep .rb | sort | uniq -c | sort -rg | head -10

Or has been fixed the most:

git log --grep fix --pretty=format: --name-only | sort | uniq -c | sort -rg | head -10

Or contain too much logic:

wc -l app/models/* | sort | tail

1 Response
Add your response

That's interesting.

over 1 year ago ·