On 08/28/12 05:47, Tim Chase wrote:
> On 08/28/12 03:13, Fred wrote:
>> is there a way to check if a branch doesn't introduce changes,
>> which are not in master.
> I'm partial to
> git diff my_branch ^master
> which would find all the changes on "my_branch" that aren't yet on
> master. This is an open syntax so you can request "changes that are
> on my_branch_a, but aren't on master or on my_branch_b" with
> git diff my_branch_a ^my_branch_b ^master
Additionally, I find the "diff" version somewhat hard to read unless
the delta is small, but the same syntax works for log:
git log my_branch ^master ^my_branch_b
which can give you a higher level view of the changes.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at