Skip to content

Instantly share code, notes, and snippets.

@jmscarnatto
Created June 10, 2020 18:15
Show Gist options
  • Select an option

  • Save jmscarnatto/8e40db9ef2f7096a8ffbb5a005b6563b to your computer and use it in GitHub Desktop.

Select an option

Save jmscarnatto/8e40db9ef2f7096a8ffbb5a005b6563b to your computer and use it in GitHub Desktop.
Git clone single branch
git clone --single-branch --branch <branchname> <remote-repo>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment