Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] Add option to git-branch to set up automatic rebasing

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:44:47

Pieter de Bie [off-list ref] writes:
That's why I suggested --auto-rebase, which is more verbose in what
it does. Perhaps we should add it as an optional flag for --track, like

  git branch --track --auto-rebase local remote/branch

? That is a bit long though.
That does not make _any_ sense unless you also have --auto-merge.  And
which part of rebasing is auto anyway?  "git checkout local" won't rebase
onto remote/branch for one thing.
I don't think "--track=rebase" makes a lot of sense, since "track" is
still a boolean in my head ;)
Well, track _is_ boolean.  You usually build and develop yourself, but if
you are following somebody else, you say "this is not really a pure
development but is used to trail somebody else (aka "track mode ON"), and
the way for this branch to follow that somebody else specifically is to
merge from it or rebase on top of it (aka "how it tracks")".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help