mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-06-07 21:46:52 +02:00
Updated cd-repo.ps1
This commit is contained in:
parent
58bba20351
commit
1c43e33c11
@ -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])"
|
||||
|
Loading…
x
Reference in New Issue
Block a user