Update clone-repos.ps1

This commit is contained in:
Markus Fleschutz 2022-12-28 12:42:15 +01:00
parent 4f4638b2fb
commit 49d0a726d3
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
.SYNOPSIS
Clones Git repositories
.DESCRIPTION
This PowerShell script clones well-known Git repositories into a target directory.
This PowerShell script clones popular Git repositories into a target directory.
.PARAMETER targetDir
Specifies the target directory (current working directory by default)
.EXAMPLE
@ -22,8 +22,8 @@ try {
& git --version
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
Write-Host "⏳ (2) Loading Data/known-git-repos.csv... " -noNewline
$Table = Import-CSV "$PSScriptRoot/../Data/known-git-repos.csv"
Write-Host "⏳ (2) Loading Data/popular-git-repos.csv... " -noNewline
$Table = Import-CSV "$PSScriptRoot/../Data/popular-git-repos.csv"
$NumEntries = $Table.count
Write-Host "$NumEntries Git repositories"