fix
This commit is contained in:
@@ -87,7 +87,7 @@ def sync_repository(repo_config):
|
|||||||
# 克隆目标仓库
|
# 克隆目标仓库
|
||||||
print(f"\n[1/6] 克隆目标仓库...")
|
print(f"\n[1/6] 克隆目标仓库...")
|
||||||
result = subprocess.run(
|
result = subprocess.run(
|
||||||
['git', 'clone', '--bare', target_url, work_dir],
|
['git', 'clone', target_url, work_dir],
|
||||||
capture_output=True, text=True, timeout=300
|
capture_output=True, text=True, timeout=300
|
||||||
)
|
)
|
||||||
if result.returncode != 0:
|
if result.returncode != 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user