Cloning a single GIT branch

I usually just used the default clone mode that pretty much pulls down everything. I came across a huge repo and only needed one of the branches. Well... here came single branch clone to the rescue.

git clone [url] -b [branch-name] --single-branch\
Tags:#git

Learn Something New Everyday,
Connect With The Best Developers!

Sign Up Now!

& 500k+ others use Hashnode actively.

No Comments Yet