Re: [PATCH] Teach 'git pull' the '--rebase' option
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Oct 25, 2007, 23:49 UTC
- Message-ID
- <alpine.LFD.0.999.0710251647420.30120@woody.linux-foundation.org>
- In-Reply-To
- <alpine.LFD.0.999.0710251634200.30120@woody.linux-foundation.org>
On Thu, 25 Oct 2007, Linus Torvalds wrote:
> Also, it's not strictly even necessary to publish things for this to cause > problems. It's perfectly sufficient to just do development on two private > developer machines, and do things like keeping the two machines in sync by > pulling things between them manually...
.. or any branch use, for that matter.
I do agree that "git merge --rebase" is potentially convenient, I'm just not sure it's a great idea to document as such. People shouldn't do it unless they really *really* understand the implications, and I think the implications are much easier to understand if you instead teach them "fetch+rebase", and perhaps even keep the "merge --rebase" option entirely undocumented.
Linus