Git: List branches that contain a word.
List branches that contain a word.
\> git branch --list *some-word* my-branch-some-word-goes-here another-branch-some-word-9879 your-branch-some-word-rebased
List branches that contain one or more words.
git branch --list *pattern* *pattern*
See https://git-scm.com/docs/git-branch
If a <pattern> is given, it is used as a shell wildcard to restrict the output to matching branches. If multiple patterns are given, a branch is shown if it matches any of the patterns. Note that when providing a <pattern>, you must use --list; otherwise the command is interpreted as branch creation.