From: Jay Soffian Date: Fri, 16 Apr 2010 00:58:15 GMT Subject: Re: preventing destructive operations to central repository Message-ID: In-Reply-To: On Thu, Apr 15, 2010 at 8:39 PM, Brendan Miller wrote: > Let's say you have a bare git repository writeable by a number of > different people. How do you prevent them from borking the central > repository? Depends what you mean by borking, but you might consider starting with reading the "git config" man page for the following entries: - receive.denyDeletes - receive.denyNonFastForwards > Also, is there an automated mechanism to ensure that the timeline > stays clean? Say, force people to rebase their repositories before > merging into the shared repository? In order to prevent merges, you will need to use a a receive-pack hook such as: http://lists.gnu.org/archive/html/bug-gnulib/2008-10/msg00221.html You might also consider something like gitosis/gitolite/gerrit depending upon how formal you want to be. j.