Re: documentation for committing with git

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: documentation for committing with git
Date: 2010-07-21 19:22:01
Message-ID: AANLkTinq_NouISfJ8U46kiIOpck1LsQ2vPND5qd1oG9_@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jul 21, 2010 at 21:20, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Wed, Jul 21, 2010 at 3:11 PM, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
>>> 6. Finally, you must push your changes back to the server.
>>>
>>> git push
>>>
>>> This will push changes in all branches you've updated, but only branches
>>> that also exist on the remote side will be pushed; thus, you can have
>>> local working branches that won't be pushed.
>>>
>>> ==> This is true, but I have found it saner to configure push.default =
>>> tracking, so that only the current branch is pushes.  Some people might
>>> find that useful.
>>
>> Indeed. Why don't I do that more often...
>>
>> +1 on making that a general recommendation, and have people only not
>> do that if they really know what they're doing :-)
>
> Hmm, I didn't know about that option.  What makes us think that's the
> behavior people will most often want?  Because it doesn't seem like
> what I want, just for one example...

It'd be what I want for everything *except* when doing backpatching.

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Christensen 2010-07-21 19:23:11 Re: documentation for committing with git
Previous Message Robert Haas 2010-07-21 19:20:48 Re: documentation for committing with git