Skip to content

Instantly share code, notes, and snippets.

@hypest
Created February 12, 2022 00:28
Show Gist options
  • Save hypest/8ffc618cb6fd4f87fbe8f1c64d906d96 to your computer and use it in GitHub Desktop.
Save hypest/8ffc618cb6fd4f87fbe8f1c64d906d96 to your computer and use it in GitHub Desktop.
git shallow clone single branch
git clone --branch <branch_name> --depth 1 <repo_url>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment