Get all files that have been modified in git branch

后端 未结 16 1624
深忆病人
深忆病人 2020-12-02 04:14

Is there a way to see what files have changed in a branch?

16条回答
  •  旧巷少年郎
    2020-12-02 04:30

    Considering you're on a feature branch and you want to check which files have changed compared to master... just this:

    git diff --name-only master
    

提交回复
热议问题