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

This commit is contained in:
LifeIsAnAbstraction
2026-03-11 02:11:27 +05:30
committed by GitHub
parent 2632a0f52d
commit 56095f06d2

View File

@@ -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
}