[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: git dangerous operations on alioth

On Thu, Feb 28, 2013 at 10:45:35AM +0100, Tollef Fog Heen wrote:
> > Has anybody had experience controlling access to git repositories, for
> > example, to give users access but prevent some of the following
> > dangerous operations?
> >
> > - prevent users pushing with the `--force' option
> > (from the man page for git-push: "This can cause the remote repository
> > to lose commits; use it with care.")
> You can enable denyFastForward in the config and enable reflogs, that
> should help with this.
What about `push :branch` ?


Attachment: signature.asc
Description: Digital signature

Reply to: