Answer the question
In order to leave comments, you need to log in
How to pull a branch from a remote repository?
I need to pull a remote branch so that only the files of this new branch are in the project folder.
It doesn't work:
git checkout -b <branch name> origin/<branch name>
Answer the question
In order to leave comments, you need to log in
git fetch origin
git checkout -b <название ветки> origin/<название ветки>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question