/ git-hooks / pre-commit
pre-commit
1  #!/bin/bash
2  
3  git diff --check