[svlug] Preventing a Revision Control Flamewar
Don Marti
dmarti at zgp.org
Mon Oct 20 08:44:06 PDT 2008
begin Rick Moen quotation of Mon, Oct 20, 2008 at 01:49:48AM -0700:
> Quoting Brian J. Tarricone (bjt23 at cornell.edu):
> >
> > No, but there's certainly a little marginal extra work involved. In
> > git parlance, you have to commit and then push every time you want to
> > check something in centrally. Of course, a simple script would fix
> > that.
>
> {shrug} Trivia. The main point is that the DVCS model is a proper
> superset of the centralised one, a point I mention because people
> freuently misunderstand it and erroneously think centralised development
> is impossible or difficult with a DVCS.
In git, you can make one repository push to another
in a hook. So if you always do "git commit && git
push origin" to work in a centralized way, you can
add the push command to .git/hooks/post-commit.
--
Don Marti +1 510-814-0932
http://zgp.org/~dmarti/
dmarti at zgp.org
More information about the svlug
mailing list