From 40410344ccbf61a8e776f87629e8f4ad20637ada Mon Sep 17 00:00:00 2001 From: Markus Fleschutz <markus.fleschutz@atcsim.de> Date: Wed, 12 Mar 2025 10:29:32 +0100 Subject: [PATCH] Updated cd-repo.ps1 --- scripts/cd-repo.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cd-repo.ps1 b/scripts/cd-repo.ps1 index 6802935a..8301ca51 100755 --- a/scripts/cd-repo.ps1 +++ b/scripts/cd-repo.ps1 @@ -7,7 +7,7 @@ Specifies the folder name of the Git repository .EXAMPLE PS> ./cd-repo.ps1 rust - ๐C:\Repos\rust ยท on branch: ## main ... origin/main + ๐C:\Repos\rust entered, current branch is: ## main ... origin/main .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -37,7 +37,7 @@ try { $path = Resolve-Path "$path" Set-Location "$path" - Write-Host "๐$path ยท on branch: " -noNewline + Write-Host "๐$path entered, current branch is: " -noNewline & git status --short --branch --show-stash exit 0 # success } catch {