From 0e1afe5a4f4bbb7ab6290d70ba2efc448e251d8c Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Tue, 16 Jan 2024 02:20:50 -0800 Subject: [PATCH] Include fix/ branches in freshening --- scripts/freshen-feature-branches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/freshen-feature-branches.sh b/scripts/freshen-feature-branches.sh index 8d3db02d..7158512c 100755 --- a/scripts/freshen-feature-branches.sh +++ b/scripts/freshen-feature-branches.sh @@ -1,7 +1,7 @@ #!/bin/bash # Get all branches that start with 'feat/' and store them in an array -feat_branches=($(git branch | grep '^ feat/' | sed 's/ //')) +feat_branches=($(git branch --list 'feat/*' 'fix/*' | sed 's/ //')) # Loop through each 'feat/' branch for branch in "${feat_branches[@]}"; do