A colleague created a local branch ('branchA') from master, did some work, pushed it, merged in master, did some more work and pushed it again. Concurrently, other colleagues have been working on other branches and merging them to master.
Now I need to pull branchA to review it. So I've done a git pull
and git checkout -b branchA origin/branchA
which is fine. But all of the commands (git diff/log/show) show commits made across all branches in the repo.
How can I view a diff of all of the commits made to branchA against the version of master that it was created from?
Also how can I git diff
branchA against the current HEAD of master, but only view files changed within branchA?