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