Skip to content

Commit aae3114

Browse files
committed
fix: 移除gh repo clone命令中的--mirror选项
移除gh repo clone命令中的--mirror选项,以避免在克隆仓库时创建镜像仓库,从而简化克隆过程并减少不必要的存储开销。
1 parent 97cbf38 commit aae3114

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

downGithub.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ foreach ($repo in $finalRepos) {
134134

135135
# 检查是否已经存在该目录
136136
if (-not (Test-Path -Path $repoPath)) {
137-
gh repo clone $repoUrl $repoPath -- --mirror
137+
gh repo clone $repoUrl $repoPath
138138
}
139139
else {
140140
Write-Output "Repository '$repoName' already exists, updating..."

0 commit comments

Comments
 (0)