We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e07030 commit 988a936Copy full SHA for 988a936
backup_github_repositories.ps1
@@ -165,8 +165,9 @@ Write-Message "Cloning $($repositories.Count) repositories (~${totalSizeInMegaby
165
# Clone each repository into the backup directory.
166
ForEach ($repository in $repositories) {
167
168
+ # The repository directory is suffixed with a ".git" to indicate a bare repository.
169
Backup-GitHubRepository -FullName $repository.full_name `
- -Directory $(Join-Path -Path $backupDirectory -ChildPath "${repository.name}.git)
170
+ -Directory $(Join-Path -Path $backupDirectory -ChildPath "$($repository.name).git")
171
}
172
173
$stopwatch.Stop()
0 commit comments