Skip to content

Instantly share code, notes, and snippets.

@shannonmoeller
Last active February 11, 2021 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment