Re: Pull is Evil
From: Felipe Contreras <hidden>
Date: 2016-06-15 23:00:58
W. Trevor King wrote:
On Thu, May 01, 2014 at 08:14:29PM -0500, Felipe Contreras wrote:quoted
W. Trevor King wrote:quoted
My proposed --prompt behavior is for folks who think “I often run this command without thinking it through all the way. I'm also not used to reading Git's output and using 'reset --hard' with the reflog to reverse changes. Instead of trusting me to only say what I mean or leaving me to recover from mistakes, please tell me what's about to change and let me opt out if I've changed my mind.”Unfortunately those folks by definition wouldn't know about the --prompt option.But once such folks are identified, you just have to convince them (once) to set the pull.prompt config. That's a lot easier than convincing them (for every pull) to set the appropriate ff flag.
It wouldn't matter if by the default non-fast-forward merges are rejected. -- Felipe Contreras