From 79e949f4c30f75b3735a691e515276b08bf45fe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=E5=98=89=E9=98=B3-coder?= Date: Sat, 22 Nov 2025 17:20:33 +0800 Subject: [PATCH] fix --- sync_repos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync_repos.py b/sync_repos.py index b6acd88..b5abd03 100644 --- a/sync_repos.py +++ b/sync_repos.py @@ -87,7 +87,7 @@ def sync_repository(repo_config): # 克隆目标仓库 print(f"\n[1/6] 克隆目标仓库...") result = subprocess.run( - ['git', 'clone', '--bare', target_url, work_dir], + ['git', 'clone', target_url, work_dir], capture_output=True, text=True, timeout=300 ) if result.returncode != 0: