Re: Moving to git
От | Craig Ringer |
---|---|
Тема | Re: Moving to git |
Дата | |
Msg-id | 4E8B0F34.6000503@ringerc.id.au обсуждение исходный текст |
Ответ на | Re: Moving to git (Dave Cramer <pg@fastcrypt.com>) |
Список | pgsql-jdbc |
On 10/04/2011 04:35 PM, Dave Cramer wrote: > So how does moving to git revolutionize the process ? I do understand > that CVS is ancient but what changes if we move to git ? The main wins for committers are: - Local branches for work in progress code. Commit early, commit often. When you are ready to publish your changes to the world, you have options to clean up the history of your work so others can understand it better (and to remove those "oops" commits) with tools like squash merges and my favourite, "git rebase --interactive". I've found these tools incredibly helpful even in my private development. - A local copy of history and the current state of the public repo. It's easy to diff and revert without network access or delay. - Speed. Everything is fast. This really does make a difference, speaking as someone who's spent lots of time working with both cvs and svn as well. - Easier acceptance of changes from others via git format-patch, push/pull and/or GitHub merge requests. - Merges are so much less painful than with CVS. - Some really convenient little goodies like "git stash". For other contributors: - It's way, way easier to follow development - Personal feature branches are possible, practical, and easy. This makes developing bigger changes way easier and makes it practical to follow HEAD while doing so. - Speed. - It's trivial to produce a logical, sane and easily applied patch set using "git rewrite --interactive" and "git format-patch". -- Craig Ringer
В списке pgsql-jdbc по дате отправления: