This update adds branch name wildcard pattern matching to the "branches" command.
The use case is when a repository has many active branches and you just want to see branches matching a particular naming pattern.
The branch name wildcard patterns follow Unix filename pattern matching standards (from documentation for fnmatch):
Pattern
Meaning
*
matches everything
\?
matches any single character
[seq]
matches any character in seq
[!seq]
matches any character not in seq
For a literal match, wrap the meta-characters in brackets. For example, '[?]' matches the character '?'.
This update adds branch name wildcard pattern matching to the "branches" command. The use case is when a repository has many active branches and you just want to see branches matching a particular naming pattern.
The branch name wildcard patterns follow Unix filename pattern matching standards (from documentation for
fnmatch
):For a literal match, wrap the meta-characters in brackets. For example, '[?]' matches the character '?'.
Examples
branches
without wildcard:branches
with wildcard: