I encountered a tricky problem. For instance I was working on the "feature" branch, after several commits and merges, the code delivered to the "master", and the diagram was like:
---A---B---C---D---I master
\ \ / /
E---F---G---H feature
What I want to know is which files was modified on the "feature" branch.
I found this command: git log --name-only --pretty=format:'' origin_branch..new_branch
It seems it can give me the result, but the point is I must specify a proper range.
But after I study the manual, I don't know how to give a right range.
What I want to get is:
E--- ---G---H feature
According to gitrevisions (git help gitrevisions):
master..feature => none
master...feature =>
---.---.---C---D---I master
\ \ / /
.---.---.---. feature
feature^@ =>
---A---B---.---.---.
\ \ / /
E---F---G---. feature
You can see none of which matches my requirement.
Really thank you if you can help me with that.