In git, how do I check out a remote repository's remote branches?
Posted
by Hans Sjunnesson
on Stack Overflow
See other posts from Stack Overflow
or by Hans Sjunnesson
Published on 2010-06-14T11:29:46Z
Indexed on
2010/06/14
11:32 UTC
Read the original article
Hit count: 177
git
I have a local repository cloned from a bare remote repository. The following command lists al the remote repository's branches.
$ git ls-remote
74bd3eb190edb39db04f6c0c4dbbb9e1e96bc6db refs/remotes/test
85de54d6ae813c624b9623983e6b0a4948dae0fe refs/remotes/trunk
I want to checkout and track that remote's remote branch trunk. How do I do that?
© Stack Overflow or respective owner