Oswald Buddenhagen <oswald.buddenhagen@xxxxxx> writes: > git branch --contains can be a rather expensive operation in big > repositories. as my use case is actually a rather limited search for > commits in my local wip branches,... I can do $ git branch --list --contains master \??/\* to show only the topic branches that forked from/after 'master', and replacing 'master' with v2.40.0 or any older point and the output starts showing more branches, but the search excludes integration branches like 'next' and 'seen'. Is that what you are after?