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

config for merging master to test branch

From
Daniel Convissor <danielc@analysisandsolutions.com>
Date
Dec 28, 2009, 23:38 UTC
Message-ID
<20091228233838.GA28052@panix.com>
Hello:
Here's my workflow...
testing directory (test branch)
    [set origin to server repository]
    git pull
    git branch test
    git checkout test
    [edit settings files]
    git commit ...
working directory (master branch)
    [set origin to server repository]
    [make changes]
    git commit ...
    git push origin master

Now, here's the question. I want to go back into the testing directory and do a "git pull" and have the changes from master automatically merged into my test branch in one step, without having to do an explicit set of checkouts and merges. I get the impression there are configuration settings that allow such to be done. Is my impression correct? If so, what are the explicit configuration commands, please? Or is there some command other than "pull" I should be using to do this?

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
Next: Daniel Convissor
Message 1 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.