Is there a way to see all changed files on a branch in Git?

前端 未结 4 700
自闭症患者
自闭症患者 2020-12-14 08:07

I apolagise if this isn\'t very clear but in Git, is there a way to see all changed files on a branch, by name only. As far as I know I can use git log to see files that ha

4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-14 08:39

    I am using this command to find out the list of N files changed between two versions, here N is 50

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

提交回复
热议问题