git - How to find number of commits done to a file across a repository -


i looking @ video "treat code crime scene".

http://www.infoq.com/presentations/code-bugs-legacy-pitfalls

inorder know complexity of code says find the number of commits done on each file.this means file need more maintainance. how find hotspot guy done in video.

this between 13:20 - 14:20 in video.

treat code crime scene

treat code crime scene 2

following "how count number of commits per file pathname author in git repository?", can start with:

git log --name-only --pretty=format: | sort | uniq -c | sort 

the sorted list spot files a lot of commits.


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -