From: Ævar Arnfjörð Bjarmason Date: Tue, 22 Jun 2010 10:53:22 GMT Subject: Re: git push controls / config Message-ID: In-Reply-To: On Tue, Jun 22, 2010 at 10:50, Mahesh Vaidya wrote: > 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.