From: Jay Soffian Date: Mon, 28 Feb 2011 23:43:52 GMT Subject: Re: [1.8.0] fix branch.autosetupmerge and branch.autosetuprebase Message-ID: In-Reply-To: On Mon, Feb 28, 2011 at 6:03 PM, Dustin Sallings wrote: > > On Feb 28, 2011, at 14:37, Jay Soffian wrote: > > 2. Deprecate branch.autosetuprebase. Pull's default action shouldn't > be specified when the branch is created. Rather, add a "pull.rebase" > boolean defaulting to false, and which is overridden per-branch by > branch..rebase. > > Do you mean to say ``pull.rebase'' configured to true would do the same > thing? Effectively, yes. If a user specifies "pull.rebase true" in their .gitconfig or repo .git/config, then when they "git pull" while on branch , pull will rebase, unless branch..rebase exists and is set to false. any branches that don't have an explicit "branch..rebase = false" will > If so, I'm fine with killing off branch.autosetuprebase.  The goal is to > have something I can easily give to other people so that we all work the > same way. Understood. I recently have the same goal, but my users have pre-existing branches that they setup before I told them to "git config branch.autosetuprebase true". Now they need to go configure every one of those branches to rebase by default. It would be nice if I could just tell them "git config --global pull.rebase true" and have it affect all their repos and branches. :-) j.