That’ll be
git log B..A
E.g. “display all commits that are in A but not in B” Or if you wish to do it against non local branches
git log origin/B..origin/A
That’ll be
git log B..A
E.g. “display all commits that are in A but not in B” Or if you wish to do it against non local branches
git log origin/B..origin/A