Re: The git spring cleanup challenge
From: Sergey Organov <hidden>
Date: 2021-06-02 23:10:05
Felipe Contreras [off-list ref] writes:
Sergey Organov wrote:quoted
Felipe Contreras [off-list ref] writes:quoted
Sergey Organov wrote:quoted
Felipe Contreras [off-list ref] writes:quoted
Sergey Organov wrote:quoted
quoted
quoted
quoted
quoted
[pull] rebase = mergesCan you do `git pull --rebase=merges` for a while?I never use 'git pull' for merging, and all the time with rebasing, so what's the point? I mean, whenever I do 'git pull' I mean 'git pull --rebase', and whenever I need to merge, I exclusively use'git merge'.So you can remove that configuration.Sorry, I can't, see below.quoted
And afterwareds set pull.rebase=true so you don't need to specify --rebase.I don't get it. What's the point using pull.rebase=true instead of pull.rebase=merges? The former is plain total disaster in my opinion as it silently breaks history shape.I think there's some confusion here. You said you always did `git pull --rebase`, not `git pull --rebase=merges`.
Yep, I was lazy and didn't say `git pull --rebase=merges`, sorry for confusion. Though in fact my phrase was meant to stress that I use rebase as opposed to merge, and I left the details, in fact because I thought --rebase=merges sounds even more confusing in this context. Thanks, -- Sergey Organov