Updated cd-repo.ps1

This commit is contained in:
Markus Fleschutz 2025-03-14 08:23:40 +01:00
parent 58bba20351
commit 1c43e33c11

View File

@ -38,7 +38,7 @@ try {
$path = Resolve-Path "$path"
Set-Location "$path"
Write-Host "📂$path entered, current branch is: " -noNewline
& git status --short --branch --show-stash
& git status --branch --short
exit 0 # success
} catch {
"⚠️ Error: $($Error[0])"