Re: Per-branch receive.denyNonFastForwards?

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

 



skillzero@xxxxxxxxx venit, vidit, dixit 08.06.2009 07:20:
> Is there a way to deny non-fast forward pushes to only certain
> branches? I'd like for people to be able to force push to their own
> branches on the server, but for the master branch (and maybe a couple
> other important branches), I want to prevent it. I basically want a
> per-branch version of receive.denyNonFastForwards. Is there a way to
> do this?

The update-hook example should shows how you could guard specific
branches. If you want to make this user-dependent you may need to look
at gitosis.

Michael
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]