Updated cd-repo.ps1

This commit is contained in:
Markus Fleschutz 2025-04-24 15:39:26 +02:00
parent 35e3d05ae7
commit 6b09062dca

View File

@ -17,7 +17,7 @@
param([string]$folderName = "")
try {
if ("$folderName" -eq "") { $folderName = Read-Host "Enter the folder name of the Git repository" }
if ("$folderName" -eq "") { $folderName = Read-Host "Please enter the Git repository's folder name" }
if (Test-Path "~/Repos" -pathType container) { $path = "~/Repos"
} elseif (Test-Path "~/repos" -pathType container) { $path = "~/repos"