Re: Multi-branch committing in git, revisited

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: Multi-branch committing in git, revisited
Дата
Msg-id 889B5864-F5ED-4B7D-8A1E-1AC710B2A177@kineticode.com
обсуждение исходный текст
Ответ на Re: Multi-branch committing in git, revisited  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sep 21, 2010, at 8:19 PM, Tom Lane wrote:

> You sure about the "staged" part?

Yes, I do it all the time (I make a lot of mistakes).

> Offhand I think I like Andrew's recommendation of a shortlived branch
> better.  In essence your idea is using the tip of "master" itself as a
> shortlived branch, which is maybe a bit too cute.  If you get distracted
> and need to do something else for awhile, the tip of "master" is not
> where you want your not-yet-pushable work to be.

Yes, I think using branches for everything is generally the way to go. But if you wanted to just use your existing
approach,then reset --soft HEAD^ would work, too. 

Best,

David




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: wip: functions median and percentile
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: psql's \dn versus temp schemas