I would like to get a list of files which were changed in branch, since branch was created.
Example:
create branch B1
commit change in file_1
commit change in file_2
Result should be: file_1 file_2
How to do that?
I'm NOT interested in difference between Master and B1.
I'm interested in difference between current state of B1 and primary state of B1.
Thanks for responses
First, find the diverge point using
git merge-base master b1
Then use
git diff --stat <commit-id>..b1
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.