Getting new branches from remote repo.
From: Alexander Litvinov <hidden>
Date: 2016-08-11 20:20:10
From: Alexander Litvinov <hidden>
Date: 2016-08-11 20:20:10
Hello list, I have a trouble I don't know how to solve. When I am cloning remote repo I automatically get all it's branches stored at my repo (they are listed at .git/remotes/origin). When someone adds new branch(es) to remote repo git pull (git fetch) does not automatically add them to my repo. I have a tool to list all remote branches (git ls-remote --heads origin) but I can't find how to add interesting (or all) branches to by repo. By the way, how can I clone remote repo created by cloning another repo using git clone --use-separate-remotes ? Even git ls-remote --heads origin does not show all branches taken from that another repo.