All rights are reserved by Niteesh Kumar.. Theme images by Storman. Powered by Blogger.

Followers

Total Pageviews

Blog Archive

Translate

Wednesday, 28 October 2020

How to clone single branch from a repository git?

git clone -b <<---Branch Name-->> --single-branch <<----origin Endpoint----->>>


GitHub is most popular when it comes to collaborative work on code. It is widely used by corporate organizations as well as individual developers.


How to clone single branch from a repository git?
Source - Medium.com


How to clone single branch?

Suppose there are multiple branches of a repository and you want to clone only single branch out of that repository.

You can use the below command for the same - 


git clone -b <<---Branch Name-->> --single-branch <<----origin Endpoint----->>>





0 on: "How to clone single branch from a repository git?"