Skip to content

Instantly share code, notes, and snippets.

View maxim-aim's full-sized avatar

マクシム maxim-aim

View GitHub Profile
@maxim-aim
maxim-aim / git-lfsclone.sh
Created September 12, 2024 02:17 — forked from larsxschneider/git-lfsclone.sh
Clone Git repositories and download LFS files in parallel
#!/usr/bin/env bash
#
# Clone Git repositories and download LFS files in parallel
#
set -e
CLEAN_ERROR='push @lines, $_;splice @lines, 0, 7 if /error: external filter failed/;print shift @lines if @lines > 6}{ print @lines;'
git -c filter.lfs.smudge= \
-c filter.lfs.required=false \