1
0
mirror of https://github.com/fleschutz/PowerShell.git synced 2025-07-04 06:30:04 +02:00

Update clean-repo.ps1

This commit is contained in:
Markus Fleschutz
2021-09-10 08:19:49 +02:00
committed by GitHub
parent 2a36ac2d98
commit 61b6fb791d

@ -17,8 +17,8 @@ try {
$StopWatch = [system.diagnostics.stopwatch]::startNew() $StopWatch = [system.diagnostics.stopwatch]::startNew()
if (-not(test-path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" } if (-not(test-path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" }
$RepoDirName = (get-item "$RepoDir").Name
$RepoDirName = (get-item "$RepoDir").Name
"🧹 Cleaning Git repository 📂$RepoDirName from untracked files..." "🧹 Cleaning Git repository 📂$RepoDirName from untracked files..."
$Null = (git --version) $Null = (git --version)