Git: Run through a filter before commiting/pushing?

Posted by martiert on Stack Overflow See other posts from Stack Overflow or by martiert
Published on 2010-04-14T15:34:14Z Indexed on 2010/04/14 15:43 UTC
Read the original article Hit count: 259

Filed under:
|
|

Hi.

Is there a way to run the changed files through a filter before doing the commit? I wish to make sure the files follows the coding standards for the project.

I would also like to compile and run some test before the commit/push actually takes place, so I know everything in the repo actually works.

© Stack Overflow or respective owner

Related posts about git

Related posts about coding-style