My repository history looks something like this:
x---y-+-z-+-branch / / / ---a---b---c-+-d-+-e---master I want to get a single diff (i.e., like 'git diff' outputs- I don't want a whole bunch of diffs like 'git log -p' produces) of the complete history of 'branch', without including any of the changes that were merged into 'branch' from 'master'.
How can I do this?
git log branch_name --not master --no-merges --pretty="format:%H"