Skip to content

Commit 76f6ab8

Browse files
authored
Merge pull request #1 from github/main
fix: use quiet checkout to avoid exception on git checkout (github#1792)
2 parents 96b6b75 + 56095f0 commit 76f6ab8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/powershell/create-new-feature.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ if ($branchName.Length -gt $maxBranchLength) {
250250
if ($hasGit) {
251251
$branchCreated = $false
252252
try {
253-
git checkout -b $branchName 2>$null | Out-Null
253+
git checkout -q -b $branchName 2>$null | Out-Null
254254
if ($LASTEXITCODE -eq 0) {
255255
$branchCreated = $true
256256
}

0 commit comments

Comments
 (0)