Re: So git pull is shorthand for what exactly? - Mailing list pgsql-hackers

From Andres Freund
Subject Re: So git pull is shorthand for what exactly?
Date
Msg-id 201010011923.41715.andres@anarazel.de
Whole thread Raw
In response to Re: So git pull is shorthand for what exactly?  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: So git pull is shorthand for what exactly?
List pgsql-hackers
On Friday 01 October 2010 18:48:25 Heikki Linnakangas wrote:
> On 01.10.2010 18:53, Tom Lane wrote:
> > BTW, I've noticed that "git push" will reject an attempt to push an
> > update in one branch if my other branches are not up to date, even
> > if I am not trying to push anything for those branches.  That's
> > pretty annoying too; is there a way around that?
> 
> Yeah, that's annoying. You can do "git push origin <branch>", and it
> will only try to push that branch, ignoring the others.
If you want that as a default behaviour:
"For example, to default to pushing only the current branch to origin use git 
config remote.origin.push HEAD. Any valid <refspec> (like the ones in the 
examples below) can be configured as the default for git push origin."


Andres


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: So git pull is shorthand for what exactly?
Next
From: Pavel Stehule
Date:
Subject: Re: wip: functions median and percentile