How do you "pull" a Branch from origin without git pull?

Asked

Viewed 19 times

0

I am in a joint project, in origin was created a branch that I do not have on PC, how to copy this Branch to my machine without having to give a pull ? I’d like to have Branch exactly as she is, without merging.

What I usually do is go to master, create a new branch, and give git pull origin [branchDesejada]. But I don’t want to, I want Branch with the name and changes that are in origin.

  • 1

    Although the title of the question suggested above does not seem to be related to the problem, the answer is there (just use the git fetch)

  • certinho friends, thank you very much. I think it is good to leave the question open to those who do not know the name of the command to search the difference

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.