thank you, that does exactly what I wanted:
(faui03) [/var/tmp/git] git commit -a
Created commit 9e89d1d: added some whitespace
1 files changed, 1 insertions(+), 0 deletions(-)
(faui03) [/var/tmp/git] git push origin
updating 'refs/heads/master'
from 9dfdf14b3805e89aa2782458bda15b3dfae24c09
to 9e89d1d3890c6b0fd8546143a6e797820e274cb1
Generating pack...
Done counting 5 objects.
Result has 3 objects.
Deltifying 3 objects...
100% (3/3) done
Writing 3 objects...
100% (3/3) done
Total 3 (delta 2), reused 0 (delta 0)
Sorry, no pushing allowed.
error: hooks/pre-receive exited with error code 1
ng refs/heads/master pre-receive hook declined
error: failed to push to '131.188.30.103:/home/cip/adm/sithglan/work/repositories/mirror/git.git'
Thomas