Skip to content

Instantly share code, notes, and snippets.

@shannonmoeller
Last active January 9, 2025 18:59
Show Gist options
  • Save shannonmoeller/c4a75f4e3500d33302658268e66f5b31 to your computer and use it in GitHub Desktop.
Save shannonmoeller/c4a75f4e3500d33302658268e66f5b31 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
BRANCH=${BRANCH:main}
# git clone --branch $BRANCH --depth 1 --single-branch --no-tags $1
git clone --branch $BRANCH --single-branch --no-tags --filter=blob:none $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment