Wednesday, 1 July 2015

How to clone specific branch in git?

If git repository is too big and you can't clone (or don't want to) all of it, you can clone specific branch:
git clone -b [branch_name] --single-branch http://arina.git

No comments:

Post a Comment