mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 09:12:59 +08:00
Update githubclone.sh
This commit is contained in:
parent
4ffc2278a4
commit
14cb8c460c
@ -24,7 +24,7 @@ for mirror in "${MIRRORS[@]}"; do
|
||||
# 尝试克隆仓库
|
||||
for i in {1..3}; do
|
||||
echo "Trying to clone from $mirror_url (attempt $i)"
|
||||
if git clone "$mirror_url"; then
|
||||
if git clone --depth=1 "$mirror_url"; then
|
||||
echo "Successfully cloned from $mirror_url"
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user