Skip to content

Commit 8e07030

Browse files
committed
Suffix the repository directory with '.git' to indicate a bare repository
1 parent e3bf82e commit 8e07030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backup_github_repositories.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ Write-Message "Cloning $($repositories.Count) repositories (~${totalSizeInMegaby
166166
ForEach ($repository in $repositories) {
167167

168168
Backup-GitHubRepository -FullName $repository.full_name `
169-
-Directory $(Join-Path -Path $backupDirectory -ChildPath $repository.name)
169+
-Directory $(Join-Path -Path $backupDirectory -ChildPath "${repository.name}.git)
170170
}
171171
172172
$stopwatch.Stop()

0 commit comments

Comments
 (0)