Skip to content

Instantly share code, notes, and snippets.

@marcosricardoss
Created March 3, 2021 16:55
Show Gist options
  • Save marcosricardoss/08cded78d928eb1857cf7fdc2568682d to your computer and use it in GitHub Desktop.
Save marcosricardoss/08cded78d928eb1857cf7fdc2568682d to your computer and use it in GitHub Desktop.
How to clone a single branch in Git
git clone --single-branch --branch features/name https://github.com/username/reponame
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment