我遇到了XY问题而且我知道:
master
和名称以MY-
开头的分支,所有其他分支都应该被过滤。例如,在此分支列表中:
master
some-silly-name
MY-123-good-branch
MY-55-other-branch
TH-777-branch-name
TH-1-first-branch
wip/some-wip-branch
wip/MY-66-branch
我至少愿意选择:
master
MY-123-good-branch
MY-55-other-branch
同样很高兴:
wip/MY-66-branch
我可以do this with (^(wip\/)?MY-.*)|master
,但GitKraken不会选择它。
我有什么方法可以在GitKraken的过滤器中使用正则表达式,或者,如果没有这种方法,可以用特定的过滤器过滤主分区和分支吗?