Skip to content

Instantly share code, notes, and snippets.

@Starefossen
Last active December 15, 2015 22:08
Show Gist options
  • Save Starefossen/5330505 to your computer and use it in GitHub Desktop.
Save Starefossen/5330505 to your computer and use it in GitHub Desktop.
Only clone one branch
git clone -b mybranch --single-branch git://sub.domain.com/repo.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment