💫 Toolkit to help you get started with SDD or any other process!
Update scripts/powershell/create-new-feature.ps1
Den Delimarskye20d79e78bf7
diff --git a/scripts/powershell/create-new-feature.ps1 b/scripts/powershell/create-new-feature.ps1index f267377d4..b2b3bc833 100644--- a/scripts/powershell/create-new-feature.ps1+++ b/scripts/powershell/create-new-feature.ps1@@ -97,6 +97,9 @@ try {if ($LASTEXITCODE -eq 0) {foreach ($branch in $branches) {# Clean branch name: remove leading markers and remote prefixes+ # The following regex removes:+ # - Git's current branch marker ('*') and leading whitespace (e.g., '* main')+ # - Remote prefixes (e.g., 'remotes/origin/')$cleanBranch = $branch.Trim() -replace '^\*?\s+', '' -replace '^remotes/[^/]+/', ''# Extract feature number if branch matches pattern ###-*