Skip to content

💫 Toolkit to help you get started with SDD or any other process!

fix(scripts): suppress stdout from git fetch in create-new-feature.sh (#1876)

Seiya Kojima7a5762fe6a97
diff --git a/scripts/bash/create-new-feature.sh b/scripts/bash/create-new-feature.sh
index f7f59884a..58c5c86c4 100644
--- a/scripts/bash/create-new-feature.sh
+++ b/scripts/bash/create-new-feature.sh
@@ -138,7 +138,7 @@ check_existing_branches() {
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
+ git fetch --all --prune >/dev/null 2>&1 || true
# Get highest number from ALL branches (not just matching short name)
local highest_branch=$(get_highest_from_branches)