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