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

Re: Script to rebase branches

From
Jeff King <peff@peff.net>
Date
May 9, 2017, 04:09 UTC
Message-ID
<20170509040943.j3n5li7fapiuvgbj@sigill.intra.peff.net>
In-Reply-To
<8D018370-79F9-450F-97AF-31EF4C95BA44@gmail.com>
On Sat, May 06, 2017 at 12:23:32PM +0200, Lars Schneider wrote:
Show 5 quoted lines
> I am about to write a bash/sh script that helps me to rebase a bunch of 
> branches (e.g. select branches based on prefix, conflict resolution/
> rerere support, ...).
> 
> I wonder if anyone has such a script already and is willing to share it.
This is what I use:
  https://github.com/peff/git/blob/meta/rebase

There's no documentation in the script, but the commit message in its history should give a good sense of what each part does.

-Peff
Previous: Dennis KaarsemakerNext: Johannes Schindelin
Message 3 of 9 in “Script to rebase branches”
  1. Lars SchneiderMay 6, 2017
  2. Dennis KaarsemakerMay 6, 2017
  3. Jeff KingMay 9, 2017
  4. Johannes SchindelinMay 9, 2017
  5. Jeff KingMay 9, 2017
  6. Johannes SchindelinMay 9, 2017
  7. Jeff KingMay 10, 2017
  8. Junio C HamanoMay 9, 2017
  9. Jeff KingMay 10, 2017

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.