I want to see the difference between the master branch and my feature branch. I have many pulls from the master to my feature branch and want to see the changes that would be added if I merged my feature into the master.
This is my situation:
-*--*--*-----*<master>
\ \ \
1--*--*--*--2--*<feature>
My problem is the git diff master feature
seems to only display commit number 2. I want to see the diff that a github pull request would show, which I believe is all the way to commit 1.
I noticed git cherry
shows me the commits I want to see the difference for.
Thanks for any advice.