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

Re: Many different remote branch sources

From
Alex Riesen <raa.lkml@gmail.com>
Date
Mar 2, 2007, 22:18 UTC
Message-ID
<81b0412b0703021418y6ff084d1r9eaf72aeac4eb51@mail.gmail.com>
In-Reply-To
<Pine.LNX.4.63.0703021645200.22628@wbgn013.biozentrum.uni-wuerzburg.de>
On 3/2/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> Rather, add a "fetch = refs/heads/topic1" at the _top_ of the remotes.dev1
> section, and say "git pull dev1" when you want to pull from dev1.

This is exactly what I wanted. I just somehow believed that git pull uses only references configured in branch sections, never the references in "remote" sections. Am a bit confused.

Previous: Johannes Schindelin
Message 3 of 3 in “Many different remote branch sources”
  1. Alex RiesenMar 2, 2007
  2. Johannes SchindelinMar 2, 2007
  3. Alex RiesenMar 2, 2007

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.