Re: So git pull is shorthand for what exactly?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: So git pull is shorthand for what exactly?
Дата
Msg-id 201010011923.41715.andres@anarazel.de
обсуждение исходный текст
Ответ на Re: So git pull is shorthand for what exactly?  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: So git pull is shorthand for what exactly?  (Andrew Dunstan <andrew@dunslane.net>)
Список 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 по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: So git pull is shorthand for what exactly?
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: wip: functions median and percentile