Finding most changed files in Git

前端 未结 9 1654
野的像风
野的像风 2020-11-29 15:24

How can I show files in Git which change most often?

9条回答
  •  北海茫月
    2020-11-29 15:56

    git whatchanged --all | \grep "\.\.\." | cut -d' ' -f5- | cut -f2- | sort | uniq -c | sort
    

    If you only want to see your files add --author to git whatchanged --author=name --all.

提交回复
热议问题