To do code review, I often make a git difftool hash_of_parent_of_first_commit_in_branch last_commit_in_branch
of a feature branch. The feature_branch was created from its source (let's call it master branch) and work was done on it. But in the middle of this time, the master branch received some commits, and these commits were merged in the feature_branch.
To clarify, if I was using git log, this command would be simple: git log feature_branch ^master
(maybe with a --no-merges or not, depending on the case). With this I would have the master commits filtered out of the feature_branch.
I did some research but was not able to figure out how could I achieve this. Maybe using cherry-pick? Any ideas on how could I achieve something similar on the diff/difftool command?