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

Rebasing Multiple branches at once...

From
RMRick Moynihan <rick@calicojack.co.uk>
Date
Oct 16, 2008, 12:17 UTC
Message-ID
<48F730D0.9040008@calicojack.co.uk>
Hi,

I have a master branch, a dev branch and a number of feature branches from dev. And I was wondering if there was an easy way to rebase dev and all of it's sub-branches onto master.

I know I can run this as a series of commands, and use --onto to do this, but was wondering if there was an easier way. As running:

git rebase master
when on the dev branch only rebases dev and not it's dependent branches.
Thanks!
R.
Next: Miklos Vajna
Message 1 of 9 in “Rebasing Multiple branches at once...”
  1. Rick MoynihanOct 16, 2008
  2. Miklos VajnaOct 16, 2008
  3. Rick MoynihanOct 16, 2008
  4. Miklos VajnaOct 16, 2008
  5. Junio C HamanoOct 17, 2008
  6. David KastrupOct 16, 2008
  7. Rick MoynihanOct 16, 2008
  8. Robin BurchellOct 16, 2008
  9. Toby AllsoppOct 16, 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.