Update scripts/bash/create-new-feature.sh

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Joseph Mearman
2025-11-23 16:12:11 +00:00
committed by GitHub
parent 33df8976ca
commit bf5ae42085

View File

@@ -128,8 +128,7 @@ get_highest_from_branches() {
# Function to check existing branches (local and remote) and return next available number
check_existing_branches() {
local short_name="$1"
local specs_dir="$2"
local specs_dir="$1"
# Fetch all remotes to get latest branch info (suppress errors if no remotes)
git fetch --all --prune 2>/dev/null || true