Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

While cloning git repository it is cloning only from "main" branch

While cloning the Git repository it is cloning from "main" branch where I have only the README file. But I have another branch and from that branch code, I want to get a clone.

But whenever I hit git clone <repository_url> it clones only the README file from the main branch.

How can I get a clone from another branch?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

try this:
git clone -b netflix-gpt-poc https://github.com/ratankavade/netflix-gpt-POC.git

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading