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

Push merges?

From
RLRyan Leigh <ryanl.pi@gmail.com>
Date
Mar 26, 2008, 21:52 UTC
Message-ID
<ba5eca00803261452r4b5a7b6bi600c30e79b945477@mail.gmail.com>
Hello all,

I've been getting to know git and I've stumbled across a "problem" and I haven't yet been able to find a solution. For example, say I have a branch "base" and two branches of that "foo" and "bar". I make some change in "base", commit it, and now I would like to have it in both "foo" and "bar". Is there a command that rather than get another branch and merge with the current branch will instead take the current branch and apply a merge on other branches? I've done google searches and looking through documentation and tutorials and I can't seem to find an answer one way or another. I wanted to make sure that before I go write some script to handle it that what I am looking for isn't already a feature.

Thank you, Ryan

Next: Jeff King
Message 1 of 2 in “Push merges?”
  1. Ryan LeighMar 26, 2008
  2. Jeff KingMar 27, 2008

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.