mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-02 19:09:13 +01:00
Update clean-repo.ps1
This commit is contained in:
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user