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

remote branches

From
MIMatthieu Imbert <matthieu.imbert@inria.fr>
Date
Feb 13, 2011, 07:42 UTC
Message-ID
<4D578B6D.9090803@inria.fr>
hi.

I have troubles (probably due to my misunderstanding) with git remote tracking branches. It seems to me that reality and documentation are different:

- i clone the linux git repo:

$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-2.6.git

- then i add a remote tracking branch:

$ git remote add --tags drm-intel git://git.kernel.org/pub/scm/linux/kernel/git/ickle/drm-intel.git

- Then i do git fetch or git fetch drm-intel, but nothing happens, and 
git branch -r still only show me origin/HEAD and origin/master, no 
drm-intel branches, though these branches do exist since i can see them 
with git remote -v show drm-intel

what am i doing wrong here, any idea? cheers,

-- 
Matthieu
Next: Ævar Arnfjörð Bjarmason
Message 1 of 8 in “remote branches”
  1. Matthieu ImbertFeb 13, 2011
  2. Ævar Arnfjörð BjarmasonFeb 13, 2011
  3. Matthieu ImbertFeb 13, 2011
  4. Andreas SchwabFeb 13, 2011
  5. Matthieu ImbertFeb 13, 2011
  6. Björn SteinbrinkFeb 13, 2011
  7. Junio C HamanoFeb 14, 2011
  8. Christian JaegerFeb 16, 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.