rmtadw
Last Updated: February 25, 2016
·
762
· sheerun
Photo on 08.01.2013 at 04.15

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
Say Thanks
Respond

1 Response
Add your response

1856
22e767367fe9c51fc5d22af7a631c424

That's interesting.

over 1 year ago ·
Awesome Job

C7b68e62 7dde 11e7 86d9 f7a250617dd6
DevOps Engineer, Adobe I/O
·
San Jose or San Francisco, Californ
·
Full Time