mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-10 05:17:44 +02:00
Update clean-repo.ps1 and switch-branch.ps1
This commit is contained in:
@ -29,7 +29,7 @@ try {
|
||||
|
||||
$RepoDir = Resolve-Path "$RepoDir"
|
||||
$RepoDirName = (Get-Item "$RepoDir").Name
|
||||
"⏳ Step 2/6 - Checking Git repository 📂$RepoDirName..."
|
||||
"⏳ Step 2/6 - Checking folder 📂$RepoDirName..."
|
||||
if (-not(Test-Path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" }
|
||||
|
||||
$Result = (git status)
|
||||
|
Reference in New Issue
Block a user