How do I determine which changes in one branch are missing from another?

I'm using git. I have a branch, apifixes, that was branched from master some time ago. Most, but not all, of the changes from the apifixes branch have been merged back into master. At least, I believe this is the case, because when I try to do

git branch -d apifixes

I get the following error:

error: The branch 'apifixes' is not an ancestor of your current HEAD.

How can I tell which changes are in apifixes but not in master?

Answers


git log master..apifixes

show commits reachable from apifixes, but not from master

if you want to show the difference between the two, use git diff instead


git log --oneline --left-right --cherry-pick master...apifixes (note the three dots ...) might be what you want.


Need Your Help

Using -Lpath -lname options vs. providing the library file directly

gcc linker static-linking

Recently, I got into a problem with linking and VPATH with the side effect of this question.

Flex focusOut event on TextInput and pop-up does not remove focus?

flex events focus flash-builder

I have a flex app with several fields and one text field with a focusOut event: