Z
Z
zlodiak2018-02-21 20:05:58
git
zlodiak, 2018-02-21 20:05:58

How to get a renamed branch from the server?

Please help me get a branch from the server.
There are 2 computers. First at work, second at home. I set up a connection with the server on them and worked for several days without any problems.
Today at work I changed the name of the branch. Rather, he deleted the old one, and created a new one with a completely identical code. I also pushed it to the server. Now I would like to download it from the server from home. The problem is that when I execute a command on my home computer,
git branch -a
I don't see it in the remotes/origin/blabla list.
If I saw it, pulling it down wouldn't be a problem, I can do that. But I don't see her

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aol-nnov, 2018-02-21
@aol-nnov

documentation here: https://git-scm.com/book/en/v2
You need to fetch

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question