git push controls / config

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

git push controls / config

From: Mahesh Vaidya <hidden>
Date: 2016-06-15 22:48:59

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.



Thx/ Mahesh

Re: git push controls / config

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2016-06-15 22:48:59

On Tue, Jun 22, 2010 at 10:50, Mahesh Vaidya [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help