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

Re: Add --rebase option to git-pull?

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 30, 2007, 13:16 UTC
Message-ID
<Pine.LNX.4.64.0708301415150.28586@racer.site>
In-Reply-To
<550f9510708300540u13c77201oe7cbe599c6773364@mail.gmail.com>
Hi,
On Thu, 30 Aug 2007, Tom Clarke wrote:
Show 9 quoted lines
> I'm in the process of setting up a git environment with a number of 
> shared branches. To avoid putting unnecessary merges into the trunk, 
> we'd like to normally use rebase when updating private branches. I 
> wondered if it would be possible to automatically determine the correct 
> remote branch to rebase against.
> 
> The most logical place to do this seemed to be in git-pull, so I 
> experimented with adding a '--rebase' option, per the (rough) diff 
> below.

In my TODO, there is "add the 'rebase' strategy". It is definitely something post-1.5.3, so I do not look into it. But the most logical place for me would be to have a strategy 'rebase'. IOW a git-merge-rebase.sh.

Ciao, Dscho

Previous: Tom ClarkeNext: Tom Clarke
Message 4 of 11 in “Add --rebase option to git-pull?”
  1. Tom ClarkeAug 30, 2007
  2. Andreas EricssonAug 30, 2007
  3. Tom ClarkeAug 30, 2007
  4. Johannes SchindelinAug 30, 2007
  5. Tom ClarkeAug 30, 2007
  6. Johannes SchindelinAug 30, 2007
  7. Tom ClarkeAug 30, 2007
  8. Jakub NarebskiAug 30, 2007
  9. Alex RiesenAug 30, 2007
  10. Tom ClarkeAug 30, 2007
  11. Tom ClarkeAug 30, 2007

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.