I have two remote branches master and branchB.
I've merged master into branchB with git checkout branchB && git merge 

After that I did git rev-list master..branchB to see commits of branchB 
which are not in master and actually got some sha1 from master.

So I decided to list branches having that sha1

$ git branch --contains sha1

To my surprise it shows only branchB has this commit. Can someone tell me 
why? I'd expect to see both master and branchB having it

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to