Show changes and log between two branches
- $ git diff master..branch
- $ git log master..branch
- $ git shortlog master..branch
Show which files are changed between two branches
- $ git diff --name-status master..branch
Show changes to a specific file between two branches
- $ git diff branch master -- path/to/thefile
- or $ git diff master..branch -- path/to/thefile
References:
- this link (http://linux.yyz.us/git-howto.html#diff_branch)
- this question (http://stackoverflow.com/questions/822811/showing-which-files-have-changed-between-two-revisions)