Re: check if one branch contains another branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alexander Mills <alexander.d.mills@xxxxxxxxx> writes:

> I am looking for a command:
>
> 1>  if branch x contains branch y
>
> right now all I can find is
>
> 2> if current branch contains commit y
>
> can someone please accomplish #1 ?

Study "git merge-base --is-ancestor" perhaps?



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux