Thread (9 messages) flat view 9 messages, 6 authors, 2016-06-15

Re: [PATCH] Adding rebase merge strategy

From: Tom Clarke <hidden>
Date: 2016-06-15 22:43:37

On 10/2/07, Johannes Schindelin [off-list ref] wrote:
It's all about convenience: in many repos, I just to "git pull", because
there is really only one upstream.

But in one repo, the upstream is svn, and I mistakenly checked in a merge.
Not wanting to know svn deeply, I have no nice way (as I would have with
git) to cover up my mistake.  So in this repo, I would have liked to set
branch.master.mergeOptions to '-s rebase'.
That's a good point, in addition to being able to do a git pull that
uses rebase, it would be useful make this configurable so you can
always safely do 'git pull'.

So it's perhaps the question is whether rebasing should be treated as
a kind of merging, or as an alternative to merging when pulling.
Incidentally, are there any other cases other than pulling where using
rebase as an alternative merge strategy is useful?

-Tom
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help