Automatic apply of code style

Hi Everyone,

i want to apply automatic our code style to the sources. I thinked about a server side commit hook and run a tool - is that possible with a server side commit hook? I’ve never worked with git hooks before…

Best Mario