开发者

How can I find out which files have been modified in a branch?

开发者 https://www.devze.com 2022-12-11 12:01 出处:网络
I have two bran开发者_Python百科ches: master and bug1. I checked out bug1, did bunch of changes and multiple commits. How do I get a list of all files that were changed on the branch? I\'m not interes

I have two bran开发者_Python百科ches: master and bug1. I checked out bug1, did bunch of changes and multiple commits. How do I get a list of all files that were changed on the branch? I'm not interested in hashes, dates or any other commit related details. I just want to get a simple list of touched files.


git diff --name-only master bug1


From your master:

git diff --name-status BRANCH

See the git diff man page for details.

0

精彩评论

暂无评论...
验证码 换一张
取 消