Re: preventing destructive operations to central repository

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jay Soffian
Date: Thursday, April 15, 2010 - 5:58 pm

On Thu, Apr 15, 2010 at 8:39 PM, Brendan Miller <catphive@catphive.net> wrote:

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


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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
preventing destructive operations to central repository, Brendan Miller, (Thu Apr 15, 5:39 pm)
Re: preventing destructive operations to central repository, Jay Soffian, (Thu Apr 15, 5:58 pm)
Re: preventing destructive operations to central repository, Shawn O. Pearce, (Thu Apr 15, 6:03 pm)