Skip to content

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

fix: use quiet checkout to avoid exception on git checkout (#1792)

LifeIsAnAbstraction56095f06d2b4
diff --git a/scripts/powershell/create-new-feature.ps1 b/scripts/powershell/create-new-feature.ps1
index 8f88b6c56..172b5bc7d 100644
--- a/scripts/powershell/create-new-feature.ps1
+++ b/scripts/powershell/create-new-feature.ps1
@@ -250,7 +250,7 @@ if ($branchName.Length -gt $maxBranchLength) {
if ($hasGit) {
$branchCreated = $false
try {
- git checkout -b $branchName 2>$null | Out-Null
+ git checkout -q -b $branchName 2>$null | Out-Null
if ($LASTEXITCODE -eq 0) {
$branchCreated = $true
}