How to find all the commits that comprise a branch?
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- May 30, 2012, 17:39 UTC
- Message-ID
- <CAMP44s2kEMK8ik2NTiP4uiN4FPWFNYNJfY5qh5QE_hRH2AiNYA@mail.gmail.com>
Hi,
Basically what I want to do is:
% git log branch ^<any-other-branch>
IOW; all the commits were 'git branch --contains' would show 'branch' and nothing else.
Is there any easy way to do that?
Cheers.
-- Felipe Contreras