Re: git push controls / config
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Jun 22, 2010, 10:53 UTC
- Message-ID
- <AANLkTikIkyZQyvaZTUE-JzUOqKioVf_ubqBONQazP9Uf@mail.gmail.com>
- In-Reply-To
- <AANLkTin8O01vNL8JlPcNqB7FdvMssjOce_YFF82iW6GC@mail.gmail.com>
On Tue, Jun 22, 2010 at 10:50, Mahesh Vaidya <forvaidya@gmail.com> wrote:
Show 8 quoted lines
> How can I prevent (via a config file) someone from pushing a > > 1) same commit with --amend; > - we rely on commit log; bug number. If some one changes bug > number via amend; that risks the integrity. > > 2) creating and removing Tags and Branches > - same - Tags are of special importance to us.
Check out some of the on-commit filters, e.g. gitosis that do this.