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

Re: config for merging master to test branch

From
Daniel Convissor <danielc@analysisandsolutions.com>
Date
Dec 29, 2009, 17:56 UTC
Message-ID
<20091229175607.GA3683@panix.com>
In-Reply-To
<7vvdfphgbu.fsf@alter.siamese.dyndns.org>
Hi Junio:
> Good.  That is how it was designed to be used ;-)
Thanks for the reassurance.
Show 7 quoted lines
>     [branch "test"]
>         remote = origin
>         merge = refs/heads/master
> 
>     When on branch "test", "pull" and "fetch" by default interact with the
>     "origin" repository, and "pull" integrates what was found on the
>     'master' branch from that remote into your history.
Excellent.  Initially, I wasn't sure what the following commands did:
   git config branch.test.remote origin
   git config branch.test.merge refs/heads/master

Between further reading and your explanation I now understand it better. "refs/heads/master" refers items displayed by "git show-ref".

So what is "refs/remotes/origin/master", please?
Thanks,
--Dan
-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409
Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 5 in “config for merging master to test branch”
  1. Daniel ConvissorDec 28, 2009
  2. Daniel ConvissorDec 29, 2009
  3. Junio C HamanoDec 29, 2009
  4. Daniel ConvissorDec 29, 2009
  5. Junio C HamanoDec 29, 2009

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.