git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Remote branchs -- how can I check them out?

From
João Paulo Melo de Sampaio <jpmelos@gmail.com>
Date
Jan 30, 2011, 15:05 UTC
Message-ID
<AANLkTin3Tfcf=WJHJdSA9TwhFXQfaMrnm5+YEWWjo=qj@mail.gmail.com>
Hello, people.
When I just cloned git using
    git clone git://git.kernel.org/pub/scm/git/git.git
and I type
    git branch
it shows me I have only the 'master' branch in my local repository
    * master
and when I type
    git branch -a
it shows that there's all these branches remotely
    * master
      remotes/origin/HEAD -> origin/master
      remotes/origin/html
      remotes/origin/maint
      remotes/origin/man
      remotes/origin/master
      remotes/origin/next
      remotes/origin/pu
      remotes/origin/todo

What do I have to do to be able to see what's in the 'maint', 'next' and 'todo' branches, for example?

And by the way, what are those branches all about? Their names suggests they are maintenance branches (where you keep backward compatibility with an older version?), the next version of git (1.7.4 version?) and future features under implementation (the to-do list?).

Thank you for your time!
-- 
João Paulo Melo de Sampaio
Computer Engineering Student @ UFSCar
Website: http://www.jpmelos.com
Twitter: twitter.com/jpmelos (@jpmelos)
Next: Konstantin Khomoutov
Message 1 of 9 in “Remote branchs -- how can I check them out?”
  1. João Paulo Melo de SampaioJan 30, 2011
  2. Konstantin KhomoutovJan 30, 2011
  3. 0/2 Re: Remote branchs -- how can I check them out?Jonathan Nieder, Jan 30, 2011
  4. 1/2 Documentation/branch: split description into subsectionsJonathan Nieder, Jan 30, 2011
  5. Sverre RabbelierJan 31, 2011
  6. 2/2 Documentation/branch: briefly explain what a branch isJonathan Nieder, Jan 30, 2011
  7. Junio C HamanoJan 31, 2011
  8. João Paulo Melo de SampaioJan 31, 2011
  9. Jakub NarebskiJan 30, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.