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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user