Skip to content

Instantly share code, notes, and snippets.

@stevewithington
Created November 13, 2017 22:55
Show Gist options
  • Save stevewithington/619e650209d56fe09540a32752e226ff to your computer and use it in GitHub Desktop.
Save stevewithington/619e650209d56fe09540a32752e226ff to your computer and use it in GitHub Desktop.
Git: Clone single branch
git clone -b <branchname> --single-branch https://github.com/<user>/<repo> <dir>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment