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?