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

前端 未结 4 701
自闭症患者
自闭症患者 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:35

    Assuming you have checked out the branch you are working on, and you want to compare it to master:

    git diff --name-only master
    

提交回复
热议问题